Closed as not planned
Description
Similar issue to #4, now with code blocks in numbered lists:
-
Item 1
with a semantic line feedecho "I get moved around by prettier/mdformat, originally I am 3 spaces deep"
-
Item 2
-
Item 3
I have prettier
(.prettierrc.toml
: tabWidth = 4
) and mdformat
, together in pre-commit
:
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
hooks:
- id: prettier
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- id: mdformat
additional_dependencies:
- mdformat-black
- mdformat-footnote
- mdformat-frontmatter
- mdformat-gfm
- mdformat-mkdocs>=1.0.2rc2
args: [--align-semantic-breaks-in-numbered-lists]
Disclaimer: this may not be something mdformat-mkdocs
solves.
I am wondering, should mdformat-mkdocs
have been spacing the code block to 4-spaces?
Seems like (non-MkDocs) Markdown renderer is the same for both 3-spaces or 4-spaces.
Metadata
Metadata
Assignees
Labels
No labels