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

Experiment with something like ```python from nltk import tokenize sentences = tokenize.sent_tokenize(paragraph) ``` and find out if we can implement sentence-based word wrapping to reduce diffs. Implement as an option,...

enhancement
plugin
research

See https://github.com/executablebooks/mdformat/pull/49#issuecomment-702740026 Add a CLI flag for skipping Markdown validation. I would name the flag `--fast`, `--unsafe` or `--skip-validation`.

enhancement

### Context Hello! I would love to use it as `mdformat .` (like black) and have it ignore all files I know should be ignored and include any that should...

enhancement

### Describe the bug mdformat updates the timestamp of the files even when they are left unchanged. Instead, mdformat should not touch files when they are left unchanged (as `black`...

bug

updates: - [github.com/psf/black: f6c139c5215ce04fd3e73a900f1372942d58eca0 → 2018e667a6a36ee3fbfa8041cd36512f92f60d49](https://github.com/psf/black/compare/f6c139c5215ce04fd3e73a900f1372942d58eca0...2018e667a6a36ee3fbfa8041cd36512f92f60d49) - https://github.com/myint/docformatter → https://github.com/PyCQA/docformatter - [github.com/PyCQA/docformatter: e0c24db9430c0df94a077c07af2e1de536689c5f → 8b8dae1d990e2e4fec7ff6704a79c23a403cd605](https://github.com/PyCQA/docformatter/compare/e0c24db9430c0df94a077c07af2e1de536689c5f...8b8dae1d990e2e4fec7ff6704a79c23a403cd605)

```sh mdformat --print-completion bash | sudo tee /usr/share/bash-completion/completions/mdformat mdformat --print-completion zsh | sudo tee /usr/share/zsh/site-functions/_mdformat mdformat --print-completion tcsh | sudo tee /etc/profile.d/mdformat.completion.csh ``` ```sh ❯ mdformat -- option --check do...

### Context It has become increasingly adopted the option to store the configuration of many tools inside the pyproject.toml file. example for black: https://ichard26-testblackdocs.readthedocs.io/en/refactor_docs/pyproject_toml.html It would be amazing if mdformat...

enhancement

### Describe the bug When running mdformat on ````markdown ``` a ```   # A ```` (`"'```\\na\\n```\\n\\u2003\\n# A\\n'"`) I'm getting an error. Might be related to https://github.com/executablebooks/mdformat/issues/351. ### Reproduce the bug...

bug

updates: - [github.com/pre-commit/pre-commit-hooks: f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9 → 2c9f875913ee60ca25ce70243dc24d5b6415598c](https://github.com/pre-commit/pre-commit-hooks/compare/f71fa2c1f9cf5cb705f73dffe4b21f7c61470ba9...2c9f875913ee60ca25ce70243dc24d5b6415598c) - [github.com/PyCQA/isort: dbf82f2dd09ae41d9355bcd7ab69187a19e6bf2f → c235f5e450b4b84e58d114ed4c589cbf454175a3](https://github.com/PyCQA/isort/compare/dbf82f2dd09ae41d9355bcd7ab69187a19e6bf2f...c235f5e450b4b84e58d114ed4c589cbf454175a3) - [github.com/psf/black: 193ee766ca496871f93621d6b58d57a6564ff81b → b965c2a5026f8ba399283ba3e01898b012853c79](https://github.com/psf/black/compare/193ee766ca496871f93621d6b58d57a6564ff81b...b965c2a5026f8ba399283ba3e01898b012853c79) - https://github.com/myint/docformatter → https://github.com/PyCQA/docformatter - [github.com/PyCQA/flake8: 10f4af6dbcf93456ba7df762278ae61ba3120dc6 → e43806be3607110919eff72939fda031776e885a](https://github.com/PyCQA/flake8/compare/10f4af6dbcf93456ba7df762278ae61ba3120dc6...e43806be3607110919eff72939fda031776e885a)