Skip to content

fix: non-semantic indents on code blocks #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 26, 2023
Merged

Conversation

KyleKing
Copy link
Owner

Prototype implementation for non-semantic indents on code blocks to comply with mkdocs expectations. Fixes incorrect indents in mkdocs when a code block has less than a multiple of 4, which was previously demonstrated here, but is now fixed:

Incorrect

Latest: https://github.com/KyleKing/mdformat-mkdocs/tree/46f07bc88f65f7fed6220943156db51dd82f1832/mkdocs-demo

@KyleKing KyleKing self-assigned this Jul 23, 2023
@KyleKing KyleKing merged commit da2c6e9 into main Jul 26, 2023
@KyleKing KyleKing deleted the non-semantic-code-blocks branch July 26, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant