question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: Get document title from markdown heading when exporting HTML/PDF

See original GitHub issue

Iterate 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:closed
  • Created 5 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
fxhacommented, Apr 27, 2018

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).

0reactions
Jocscommented, Jun 6, 2018

@fxha slugify dose not support Chinese, So we used markdown-toc directly.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found