Table of Content for Markdown
A serverless function for providing a Table of Content for your Markdown
Preview
Below you can see a preview
Usage
How to create a Table of Content
With this tool you can add a menu or table of content to your own Markdown text.
The usage is simple. Please
- add your complete markdown text into the area above,
- choose the right type of menu and click on "Include Menu".
- The ToC is included directly in your Markdown text as a result.
- From there you can copy/paste the resulting content.
- Additionally you can see a preview og the markdown with the toc.
Github is handling links different from CommonMark:
- for GitHub: GitHub adds the anchors during the html parsing. The name of the link is the formatted content of the Markdown heading. MarkdownMenu is adding the content of table and not anchors at the heading.
- for CommonMark: CommonMark add links between the table of content and the headings. The name can be freely selected. MarkdwonMenu is adding the table of content and the anchors at the headings.