mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 05:35:38 +00:00
Allows using `-t plain+four_space_rule` to emulate the output of pandoc before #7172. This is useful for users that use pandoc e.g. to autoformat commit messages.
42 lines
416 B
Markdown
42 lines
416 B
Markdown
Check that the `four_space_rule` extension works for plain writer.
|
|
|
|
```
|
|
% pandoc -f markdown -t plain+four_space_rule
|
|
This is the title
|
|
|
|
Here we fix:
|
|
|
|
- a
|
|
- b
|
|
- c
|
|
^D
|
|
This is the title
|
|
|
|
Here we fix:
|
|
|
|
- a
|
|
- b
|
|
- c
|
|
```
|
|
|
|
Check that the `four_space_rule` extension is off by default.
|
|
|
|
```
|
|
% pandoc -f markdown -t plain
|
|
This is the title
|
|
|
|
Here we fix:
|
|
|
|
- a
|
|
- b
|
|
- c
|
|
^D
|
|
This is the title
|
|
|
|
Here we fix:
|
|
|
|
- a
|
|
- b
|
|
- c
|
|
```
|