-
-
Notifications
You must be signed in to change notification settings - Fork 170
Closed
Description
It'd nice if NodeHeading provide an indication either given ATX-style header is closed or not:
# ATX style header
vs
# closed-ATX style header #
Motivation:
I'm working on markdown/commonmark linter, which is being powered by Comrak.
The linting rules are being ported from https://github.com/markdownlint/markdownlint.
One on the rules should be triggered when inconsistent heading styles are used across a document, for example, when there is a mix of ATX and closed ATX-style headers. To enforce this rule, I need to differentiate between regular ATX headers and closed ATX headers.