Please extend the max description length #17

Closed
opened 2026-10-05 02:22:24 +02:00 by adam · 3 comments
Owner

Currently the plugin warns on descriptions being longer than 140 characters, but many SEO guides suggest a description longer than that... for example the popular https://www.opengraph.xyz/ service recommends length between 155-160 characters.

Could you consider extending the max description length before showing an error to 160 characters? Or if not, maybe include option to set the length yourself or turn that warning off.

Currently the plugin warns on descriptions being longer than 140 characters, but many SEO guides suggest a description longer than that... for example the popular https://www.opengraph.xyz/ service recommends length between 155-160 characters. Could you consider extending the max description length before showing an error to 160 characters? Or if not, maybe include option to set the length yourself or turn that warning off. <!-- github-sync-id:747449246 -->
adam closed this issue 2026-10-05 02:22:24 +02:00
Author
Owner

Hi @coliff this is actually a great enhancement. I have implemented it with configurable settings: `

frontMatter.taxonomy.seoTitleLength

Specifies the optimal title length for SEO (set to -1 to turn it off). Default value: 60.

{
  "frontMatter.taxonomy.seoTitleLength": 60
}

frontMatter.taxonomy.seoDescriptionLength

Specifies the optimal description length for SEO (set to -1 to turn it off). Default value: 160.

{
  "frontMatter.taxonomy.seoDescriptionLength": 160
}
Hi @coliff this is actually a great enhancement. I have implemented it with configurable settings: ` ### `frontMatter.taxonomy.seoTitleLength` Specifies the optimal title length for SEO (set to `-1` to turn it off). Default value: `60`. ```json { "frontMatter.taxonomy.seoTitleLength": 60 } ``` ### `frontMatter.taxonomy.seoDescriptionLength` Specifies the optimal description length for SEO (set to `-1` to turn it off). Default value: `160`. ```json { "frontMatter.taxonomy.seoDescriptionLength": 160 } ``` <!-- github-comment-id:731186184 -->
Author
Owner

Oh, btw, version 1.8.0 has now been released with this implemented.

Oh, btw, version `1.8.0` has now been released with this implemented. <!-- github-comment-id:731186454 -->
Author
Owner

awesome! thanks for fixing this so quickly. great extension. 👍

awesome! thanks for fixing this so quickly. great extension. 👍 <!-- github-comment-id:731189721 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/vscode-front-matter#17