Skip to content

Commit b8d68aa

Browse files
veltzerclaude
andcommitted
rumdl: MD072 on; MD080 and MD082 on for prose
Front matter keys sorted, repeated sub-headings named after their parent, headings without content fixed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 parent c91f56c commit b8d68aa

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎.rumdl.toml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@
2828
# MD085: the lines of a paragraph are not indented. An indented outline is
2929
# written as the list or the code block it is.
3030
# MD088: quotes are the ASCII ones, not the typographic pairs.
31+
# MD072: the keys of a page's front matter are in alphabetical order.
32+
# MD080: no two headings of a page have the same anchor. A sub-heading
33+
# that repeats under several parents carries its parent's name.
34+
# MD082: a heading has text under it. A heading whose content is its
35+
# sub-headings is allowed ([MD082] below).
3136
[global]
3237
disable = ["MD014"]
33-
extend-enable = ["MD060", "MD070", "MD075", "MD081", "MD083", "MD084", "MD085", "MD087", "MD088", "MD091"]
38+
extend-enable = ["MD060", "MD070", "MD072", "MD075", "MD080", "MD081", "MD082", "MD083", "MD084", "MD085", "MD087", "MD088", "MD091"]
3439

3540
# MD033 (no-inline-html) is on, allowing only the elements Markdown has no
3641
# syntax for and the fleet's pages need: Marp slide layouts (div), images
@@ -46,6 +51,9 @@ allowed_elements = ["bdi", "canvas", "details", "div", "img", "script", "summary
4651
[MD084]
4752
allow = ["U+200E", "U+200F"]
4853

54+
[MD082]
55+
allow-parent-headings = true
56+
4957
[MD007]
5058
indent = 4
5159

0 commit comments

Comments
 (0)