markdown-toc
markdown-toc copied to clipboard
Online markdown table of contents generator
Uses \p{L} to match letters in any language. \p{N} for numbers as well
Hey, I like your idea for creating this tool. However, I tried and found it removes anything not in the range a-zA-Z and `-` and `_`, for example Chinese content...
This doesn't work: `## [What works/doesn't work (compatability)](https://github.com/lacymorrow/crossover/issues/47)` Output: ` - [[What works/doesn't work (compatability)](https://github.com/lacymorrow/crossover/issues/47)](#what-worksdoesnt-work-compatabilityhttpsgithubcomlacymorrowcrossoverissues47)`
- Made `levelsToShow` directly retrieve the value from the input tag so values do not go out of sync. - Added `change` callback to input tag to run process on...
As you keep feeding it by copy/paste the modified source markdown, it also generates a link for the TOC itself: ``` # Table of contents - [Table of contents](#table-of-contents) -...