Sorry for having an evil exploit to this great extension.
The following chapter title produces an invalid reference:
## [ ] 1.2.3 Title
Generated reference in TOC:
- [[ ] 1.2.3 Title](#-123-title)
Correct reference:
- [[ ] 1.2.3 Title](#--123-title)
Same when using emoji icons from here: https://www.webfx.com/tools/emoji-cheat-sheet/
Example:
## ⬜ 1.2.3 Title
Will be included in TOC as:
- [⬜ 1.2.3 Title](#⬜-123-title)
Correction:
- [⬜ 1.2.3 Title](#-123-title)
Optional background for those who wonder of the use case: when producing a PDF, using the extension Markdown PDF, it generates checkboxes for these menu entries. The result is an automatically created short check list as an overview. The contents of the chapters that are prefixed with these checkboxes describe test scenarios.
Sorry for having an evil exploit to this great extension.
The following chapter title produces an invalid reference:
## [ ] 1.2.3 TitleGenerated reference in TOC:
- [[ ] 1.2.3 Title](#-123-title)Correct reference:
- [[ ] 1.2.3 Title](#--123-title)Same when using emoji icons from here: https://www.webfx.com/tools/emoji-cheat-sheet/
Example:
## ⬜ 1.2.3 TitleWill be included in TOC as:
- [⬜ 1.2.3 Title](#⬜-123-title)Correction:
- [⬜ 1.2.3 Title](#-123-title)Optional background for those who wonder of the use case: when producing a PDF, using the extension Markdown PDF, it generates checkboxes for these menu entries. The result is an automatically created short check list as an overview. The contents of the chapters that are prefixed with these checkboxes describe test scenarios.