mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #309] [MD036] exclude **Table of Contents** by default or make it configurable #266
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#266
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sfuerte on GitHub (Jul 30, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/309
Any possibility of making the subject exclusion in MD036 by default or configurable?
The problem:
Using Bitbucket, it allows
[TOC]macro for table of contents generation (https://support.atlassian.com/bitbucket-cloud/docs/add-a-table-of-contents-to-a-wiki). I don't want to have the ToC line in list itself, hence simply making it bold. But then there is a warning frommarkdownlint. See below. A bit of catch 22.On the another hand, if https://github.com/DavidAnson/markdownlint/issues/295 is implemented, then it'll solve this one also.
Thanks in advance!
@DavidAnson commented on GitHub (Jul 30, 2020):
You can do this today like so: https://dlaa.me/markdownlint/#%25m%23%20Issue%20309%0A%0A%3C!--%20markdownlint-disable%20no-emphasis-as-heading%20--%3E%0ATable%20of%20Contents%0A%3C!--%20markdownlint-restore--%3E%0A
@sfuerte commented on GitHub (Jul 30, 2020):
Perfect. Thanks for the info!
@dwettstein commented on GitHub (Dec 13, 2021):
Just for documentation within this issue, this is also possible now: