Skip to content

Support docs without frontmatter #4425

@ashutoshkumars

Description

@ashutoshkumars

Hi,
I was trying to find a way since docuaurus ver 1 to find a way I could publish md files without making any change to conform them to frontmatter, I wanted to get rid of putting "id" in hundreds of files. In ver 2, that problem was solved. But i find that since my filenaming is in format word1_word2_word3.md (eg:"system_design_documents.md", i do need to add frontmatter to take care of 2 things:

  • clean sidelabels ("System Design Documents" looks better than "system_design_documents")
  • clean title ( I already had all the documents starting with legible H1's.

For handling these 2 scenarios, i find myself eventually editing all the files or writing a small hack to add these elements to the md files.

Can we have a feature wherein we can have the starting H1 of the document be treated as doc title ?

Thanks,
ashutosh

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions