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

[Feature] Override doc title with the first markdown header #5084

Open
joshknowles opened this issue Nov 3, 2024 · 0 comments
Open

[Feature] Override doc title with the first markdown header #5084

joshknowles opened this issue Nov 3, 2024 · 0 comments

Comments

@joshknowles
Copy link

Problem description

Currently Fern Docs auto-generates the <h1> using the page name. This can be overridden in the front-matter, but it's not possible to use a markdown # without it rendering two <h1>s

Why would it be useful?

It is nice to use native markdown headers (i.e. # Header so that the files render nicely when viewed directly in GitHub and other markdown viewers. Currently when porting content over from another markdown tool, I had to go and remove all of the #s

Describe the solution (optional)

You could either disable the auto-generation of H1s or allow the first # to override the page name.

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

No branches or pull requests

1 participant