Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the first paragraph of markdown file as meta description #1903

Open
archiewood opened this issue Apr 17, 2024 · 0 comments · May be fixed by #1922
Open

Use the first paragraph of markdown file as meta description #1903

archiewood opened this issue Apr 17, 2024 · 0 comments · May be fixed by #1922
Labels
contributions welcome This would be a great spot for a contributor to jump in

Comments

@archiewood
Copy link
Member

archiewood commented Apr 17, 2024

Evidence currently allows you to specify the meta description for the page using frontmatter.

If the user does not specify this explicitly, we should automatically use the first paragraph to generate this content.

  • parse the markdown page content (similar to how we parse the frontmatter)
  • use the first paragraph to populate the meta tag (if not defined elsewhere)
@archiewood archiewood added documentation Improvements or additions to documentation contributions welcome This would be a great spot for a contributor to jump in and removed documentation Improvements or additions to documentation labels Apr 17, 2024
@AyushAgrawal-A2 AyushAgrawal-A2 linked a pull request Apr 19, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome This would be a great spot for a contributor to jump in
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant