feat: Get document title from markdown heading when exporting HTML/PDF
See original GitHub issueIterate through markdown/html and extract the highest heading and set it as document title when exporting HTML/PDF. Highest heading: # > ## > .. > ###### > "Mark Text"
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Markdown tag for document title - Stack Overflow
files generate the title using a metadata section at the top, and then use #+ for headers.
Read more >Read Guide to Markdown Mode for Emacs - Leanpub
Markdown Mode is compatible with Emacs 24.3 and later, and it has few dependencies. To preview files and export to HTML, you will...
Read more >Exporting - Marked 2
Turning your Markdown into a finished document. Contents. The Export Drawer; Copy HTML; Save HTML; Print/PDF; Save PDF; Other export options. The Export...
Read more >Welcome to Marxico - Marxico - Markdown Editor for Evernote
Marxico · is a delicate Markdown editor for Evernote. With reliable storage and sync powered by Evernote, **Marxico** offers greate writing experience.
Read more >How to Create a Markdown Table - MakeUseOf
When you pair it with the right Markdown editor, you can convert it into another format like HTML, PDF, or more. You just...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think we could use the library for table of contents and heading ids. So that we can use heading text as link id (
a öüäb@$"
->a-ouab
).@fxha slugify dose not support Chinese, So we used markdown-toc directly.