Skip to content

Allow Markdown H1 to set titles #21

Description

@jacobb

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions