Files
John MacFarlane 0fe6254535 Markdown writer: omit extra space after bullets.
We used to insert extra spaces to ensure that the content respected
the four-space rule.  That is not really necessary now, since pandoc's
markdown and most markdowns don't follow the four-space rule.

Those who want the old behavior can obtain it by using
`-t markdown+four_space_rule`.

Closes #7172.
2025-02-12 09:41:20 -08:00

320 B

% pandoc -s --toc -t markdown
# A
## b
# B
## b

::: interior
# C
## cc
# D
:::

::: blue
# E
## e
:::
^D
- [A](#a){#toc-a}
  - [b](#b){#toc-b}
- [B](#b-1){#toc-b-1}
  - [b](#b-2){#toc-b-2}
- [E](#e){#toc-e}
  - [e](#e-1){#toc-e-1}

# A

## b

# B

## b

::: interior
# C

## cc

# D
:::

::: blue
# E

## e
:::