Enforce Markdown: Multiple headings with the same content#14967
Enforce Markdown: Multiple headings with the same content#14967josevalim merged 1 commit intoelixir-lang:mainfrom
Conversation
We allow duplication for headings with different parents in rule MD024.
ceb132a to
e3af8c5
Compare
whatyouhide
left a comment
There was a problem hiding this comment.
Nice, didn't know about this option.
|
Couldn't this cause issues in URL anchors though? |
|
@sabiwara ExDoc at least deals with duplicate headers (and I'd expect most markdown renderers to deal with it too). |
|
💚 💙 💜 💛 ❤️ |
Note that what this rule is doing is avoiding the duplicated headers within a document; in particular within the same section. |
Yes but the rationale for the rule seemed to be about anchors, hence my question.
|
Rule MD024: We allow duplication for headings with different parents, but not within the same parent.