[GH-ISSUE #110] MD035 - Horizontal rule style: Allow multiple styles #1940

Closed
opened 2026-03-07 20:02:58 +03:00 by kerem · 1 comment
Owner

Originally created by @osk on GitHub (Mar 7, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/110

I use markdown for creating slides with reveal.js that has the concept of vertical and horizontal slides. In my markdown I use *** to switch between vertical ones and --- to switch between horizontal.

When configuring my .markdownlint.json I expected to be able to do something like "MD035": { "style": ["---", "***"] } to allow for both styles but that does not work and I am forced to disable the rule.

Originally created by @osk on GitHub (Mar 7, 2018). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/110 I use markdown for creating slides with reveal.js that has the concept of vertical and horizontal slides. In my markdown I use `***` to switch between vertical ones and `---` to switch between horizontal. When configuring my `.markdownlint.json` I expected to be able to do something like `"MD035": { "style": ["---", "***"] }` to allow for both styles but that does not work and I am forced to disable the rule.
kerem 2026-03-07 20:02:58 +03:00
Author
Owner

@DavidAnson commented on GitHub (Apr 19, 2018):

Because there are only three types of thematic breaks, all the proposed configuration would do is prevent the use of “___”. I’m not thinking the extra complexity in configuration is worth it for what seems like a pretty unusual scenario.

<!-- gh-comment-id:382603132 --> @DavidAnson commented on GitHub (Apr 19, 2018): Because there are only three types of [thematic breaks](http://spec.commonmark.org/0.28/#thematic-breaks), all the proposed configuration would do is prevent the use of “___”. I’m not thinking the extra complexity in configuration is worth it for what seems like a pretty unusual scenario.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#1940
No description provided.