* Fix: 2-byte character support of slug
* Fix: Decodes slug to display slug
* Fix: Removed a logic of replaceDiacritics
* Fix: Fixed slugify to pass tests
* Fix: Fixed not to remove underscore
* Adds the test for slugify.js
* Fix: Fix to jump to heading
* Added a comment
* Fix: Created click event only linking to heading
* Fix: Fix to use handleLinkClick(e)
* Fix: Changed the regex rule
* Fix: Changed the regex rule of extractId
If there is no TOC in the current document, it's created at current
cursor position. Subsequent generation calls update TOC at existing
position.
Add additional tests with CodeMirror editor mock.
Adds table of contents for any Markdown note or
Markdown snippet.
Consequent generations update existing TOC.
Generated TOC is case sensitive to handle #2067
Shortcut : CommandOrControl+Alt+T
Menu : Edit/Generate/Update Markdown TOC