mdformat icon indicating copy to clipboard operation
mdformat copied to clipboard

CommonMark compliant Markdown formatter

Results 84 mdformat issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/pre-commit/pre-commit-hooks: db7346d375eda68a0174f2c057dd97f2fbffe030 → 3298ddab3c13dd77d6ce1fc0baf97691430d84b0](https://github.com/pre-commit/pre-commit-hooks/compare/db7346d375eda68a0174f2c057dd97f2fbffe030...3298ddab3c13dd77d6ce1fc0baf97691430d84b0) - [github.com/asottile/yesqa: 35cf7dc24fa922927caded7a21b2a8cb04bf8e10 → 265e9ff7c83add4949f81bb5fe14f4a743ffb04c](https://github.com/asottile/yesqa/compare/35cf7dc24fa922927caded7a21b2a8cb04bf8e10...265e9ff7c83add4949f81bb5fe14f4a743ffb04c) - [github.com/psf/black: ae2c0758c9e61a385df9700dc9c231bf54887041 → f6c139c5215ce04fd3e73a900f1372942d58eca0](https://github.com/psf/black/compare/ae2c0758c9e61a385df9700dc9c231bf54887041...f6c139c5215ce04fd3e73a900f1372942d58eca0) - [github.com/PyCQA/flake8: cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d → f8e1b317742036ff11ff86356fd2b68147e169f7](https://github.com/PyCQA/flake8/compare/cbeb4c9c4137cff1568659fcc48e8b85cddd0c8d...f8e1b317742036ff11ff86356fd2b68147e169f7)

### Describe the bug An error occurs when formatting an markdown file that has a line with only spaces directly under certain keywords. The error message is ``` % mdformat...

bug

### Context I have a repo that uses mdformat as a pre-commit hook; it works beautifully on Linux and macOS. If I clone the repo on Windows, under Git's default...

enhancement

### Context It seems many users do not have a good understanding of what CommonMark is, and that the Markdown they use (often in GitHub) supports additional syntax such as...

enhancement

### Context I prefer my documents to look like this: ``` #·this·is·a·heading ·-·this·is·a·list ·-·another·item ·····-·this·is·a·sublist·entry· ·····-·inteded·by·4·spaces ·-·one·last·list·entry ##·let's·have·a·subheading·here And·some·more·text #·another·big·heading Some·text.·And·some·more·text ``` So I'd like to have: - list item...

enhancement

```markdown # From - [Rénovateur de pannes](Rénovateur-de-pannes) # To - [Rénovateur de pannes](R%C3%A9novateur-de-pannes) ``` Changing the link character format is unneeded IHMO and makes the link less readable, less practical...

enhancement

Linked issue https://github.com/executablebooks/mdformat/issues/110 Prettier seems to do a better job at square bracket escaping. Mdformat currently always escapes square brackets (to not accidentally produce link label enclosures) whereas it seems...

enhancement

### Context The line split is not convienient when forcing a line break when running ``` mdformat --wrap 79 test.md ``` where test.md is ```markdown 1. Lorem ipsum dolor sit...

bug

**Is your feature request related to a problem? Please describe.** Some officially supported Python Markdown extensions (like [admonition](https://python-markdown.github.io/extensions/admonition/) use non-standard Markdown syntax. These cases are not properly handled by the...

enhancement

### Describe the bug **context** When I format my lists markdown using mdformat. **expectation** I expected the file to be correctly formatted with mkdocs. **bug** But instead the lists are...

enhancement
plugin