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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
<div align="center">
# 
> CommonMark compliant Markdown formatter
</div>
```{include} ../README.md
:start-after: <!-- start mini-description -->
:end-before: <!-- end mini-description -->
```
The features/opinions of the formatter include:
- Consistent indentation and whitespace across the board
- Always use ATX style headings
- Move all link references to the bottom of the document (sorted by label)
- Reformat indented code blocks as fenced code blocks
- Use `1.` as the ordered list marker if possible, also for noninitial list items
Mdformat will not change word wrapping by default.
The rationale for this is to support [Semantic Line Breaks](https://sembr.org/).
For a comprehensive description and rationalization of the style,
read [the style guide](users/style.md).
```{include} ../README.md
:start-after: <!-- start faq -->
:end-before: <!-- end faq -->
```
```{toctree}
---
caption: For users
hidden: true
---
users/installation_and_usage.md
users/configuration_file.md
users/plugins.md
users/style.md
users/changelog.md
```
```{toctree}
---
caption: For contributors
hidden: true
---
contributors/contributing.md
```
```{toctree}
---
caption: External links
hidden: true
---
GitHub repository <https://github.com/hukkin/mdformat>
PyPI page <https://pypi.org/project/mdformat/>
```
|