You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2021. It is now read-only.
The created TOC uses dash (-) as symbol for the generated unordered list items. If the document contains another symbol for the list items, like asterix (*), markdownlint mentions MD004 - Unordered list style telling the unordered list style should be consistent within the document.
Example:
# Test1<!-- TOC -->-[heading 1](#heading-1)-[Next heading](#next-heading)<!-- /TOC -->## heading 1
This is an unordered list, using asterix symbol:
* one
* two
## Next heading
Suggestion
Add an option for unorderd list symbol style, allowing the user to select the preferred symbol, means dash, asterix or plus.
Hi @PhilippeCuvillier , is there any target milestone for this feature to be implemented? My .md document contains * for unordered lists and after TOC is created, markdownlint gives ~100+ warning. 😊 I 'll replace them to - as I don't want to give up from TOC.
@nicpitsch@csonuryilmaz : As a workaround, you may add <!-- markdownlint-disable MD004 --> just before the TOC, and <!-- markdownlint-enable MD004 --> just after, to avoid warnings from markdownlint.
Issue
The created TOC uses dash (-) as symbol for the generated unordered list items. If the document contains another symbol for the list items, like asterix (*), markdownlint mentions MD004 - Unordered list style telling the unordered list style should be consistent within the document.
Example:
Suggestion
Add an option for unorderd list symbol style, allowing the user to select the preferred symbol, means dash, asterix or plus.
Code
Extension.js
The text was updated successfully, but these errors were encountered: