1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Prettier-Compatible Markdown Configuration
# https://prettier.io/docs/options
#
# This config aligns rumdl with Prettier's markdown formatting choices.
# Use when your project uses Prettier for markdown formatting.
#
# Note: Prettier's default prose-wrap is "preserve" (no line wrapping).
# Line length warnings only apply if you use --prose-wrap always.
[]
= 80 # Prettier default print width (with --prose-wrap always)
# Headings: ATX-style (# Heading) - Prettier converts setext to ATX
[]
= "atx"
# Lists: Prettier maintains consistent markers within each list
# It doesn't enforce a global marker style across all lists
[]
= "consistent"
# Lists: Prettier uses 2-space indentation (tab-width default)
[]
= 2
# Ordered lists: Prettier renumbers by default, but allows lazy (all 1.)
# Use "one_or_ordered" to accept either style
[]
= "one_or_ordered"
# Note: MD046 (code block style) is not configured because Prettier
# preserves both fenced and indented code blocks as-is.
# Emphasis: Prettier normalizes italics to underscores, bold to asterisks
[]
= "underscore"
[]
= "asterisk"
# The following rules are enabled by default and align with Prettier:
# - MD010: No hard tabs (Prettier converts to spaces)
# - MD012: No multiple consecutive blank lines
# - MD023: Headings must start at beginning of line
# - MD047: Files end with single newline