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

Allow Markdown H1 to set titles #21

Open
jacobb opened this issue Oct 23, 2024 · 0 comments
Open

Allow Markdown H1 to set titles #21

jacobb opened this issue Oct 23, 2024 · 0 comments

Comments

@jacobb
Copy link
Owner

jacobb commented Oct 23, 2024

Currently, titles are based on frontmatter. If there is no title frontmatter, we default to the filename.

H1 headers should be included in this. I think the order of preference is likely:

  1. Frontmatter title, if present
  2. First H1 Header
  3. (maybe) Top-most header, regardless of header level
  4. the filename, minus extension (.md)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant