keymanapp / shared-sites

Shared code across keyman.com sites
MIT License
0 stars 1 forks source link

chore: support hash headers in Markdown parser #14

Closed mcdurdin closed 9 months ago

mcdurdin commented 9 months ago

If we don't have a ---\ntitle: ...\n--- section, then we should instead search for the first heading in the document, rather than just having 'Untitled page'.

This is helpful for generated documentation where we might not have the heading available, e.g. with keymanapp/keyman#10839.