| 1 | [global] |
| 2 | # Use the GitHub Markdown flavour, https://github.com/rvben/rumdl/blob/main/docs/flavors/gfm.md. |
| 3 | flavor = "gfm" |
| 4 | disable = [ |
| 5 | # `commands-show-output`, https://github.com/rvben/rumdl/blob/main/docs/md014.md. |
| 6 | # Not necessary to show the shell commands output every time. |
| 7 | "MD014", |
| 8 | |
| 9 | # `first-line-heading`, https://github.com/rvben/rumdl/blob/main/docs/md041.md. |
| 10 | # Some documents are fragments, the first heading is defined somewhere else. |
| 11 | "MD041", |
| 12 | ] |
| 13 | |
| 14 | # `heading-style`, https://github.com/rvben/rumdl/blob/main/docs/md003.md. |
| 15 | [MD003] |
| 16 | style = "atx" |
| 17 | |
| 18 | # `ul-style`, https://github.com/rvben/rumdl/blob/main/docs/md004.md. |
| 19 | [MD004] |
| 20 | style = "dash" |
| 21 | |
| 22 | # `line-length`, https://github.com/rvben/rumdl/blob/main/docs/md013.md. |
| 23 | [MD013] |
| 24 | line-length = 80 |
| 25 | code-blocks = false |
| 26 | reflow = true |
| 27 | |
| 28 | # `no-trailing-punctuation`, https://github.com/rvben/rumdl/blob/main/docs/md026.md. |
| 29 | [MD026] |
| 30 | punctuation = ".,;:" |
| 31 | |
| 32 | # `ol-prefix`, https://github.com/rvben/rumdl/blob/main/docs/md029.md. |
| 33 | [MD029] |
| 34 | style = "ordered" |
| 35 | |
| 36 | # `no-inline-html`, https://github.com/rvben/rumdl/blob/main/docs/md033.md. |
| 37 | [MD033] |
| 38 | allowed-elements = [ |
| 39 | "i", |
| 40 | "q", |
| 41 | "cite", |
| 42 | "a", |
| 43 | "time", |
| 44 | "sub", |
| 45 | "sup", |
| 46 | "figure", "figcaption", |
| 47 | "table", |
| 48 | "summary", "details", |
| 49 | "math", "mo", "mn", "mi", "semantics", "annotation", |
| 50 | ] |
| 51 | disallowed-elements = ["gfm"] |
| 52 | fix = true |
| 53 | fix-mode = "relaxed" |
| 54 | |
| 55 | # `code-block-style`, https://github.com/rvben/rumdl/blob/main/docs/md046.md. |
| 56 | [MD046] |
| 57 | style = "fenced" |
| 58 | |
| 59 | # `code-fence-style`, https://github.com/rvben/rumdl/blob/main/docs/md048.md. |
| 60 | [MD048] |
| 61 | style = "backtick" |
| 62 | |
| 63 | # `emphasis-style`, https://github.com/rvben/rumdl/blob/main/docs/md049.md. |
| 64 | [MD049] |
| 65 | style = "underscore" |
| 66 | |
| 67 | # `strong-style`, https://github.com/rvben/rumdl/blob/main/docs/md050.md. |
| 68 | [MD050] |
| 69 | style = "asterisk" |
| 70 | |
| 71 | # `link-image-style`, https://github.com/rvben/rumdl/blob/main/docs/md054.md. |
| 72 | [MD054] |
| 73 | autolink = false |
| 74 | collapsed = false |
| 75 | preferred-style = "full" |
| 76 | |
| 77 | # `table-format`, https://github.com/rvben/rumdl/blob/main/docs/md060.md. |
| 78 | [MD060] |
| 79 | enabled = true |
| 80 | |
| 81 | # `heading-capitalization`, https://github.com/rvben/rumdl/blob/main/docs/md063.md. |
| 82 | [MD063] |
| 83 | enabled = true |
| 84 | style = "sentence-case" |
| 85 | max-level = 3 |
| 86 | ignore-words = ["Matrix", "Rust", "Swift", "Android", "Java"] |
| 87 | |
| 88 | # `list-item-spacing`, https://github.com/rvben/rumdl/blob/main/docs/md076.md. |
| 89 | [MD076] |
| 90 | style = "tight" |
| 91 | allow-loose-continuation = true |