mdformat
mdformat copied to clipboard
CommonMark compliant Markdown formatter
### Describe the bug **context** Running `mdformat` on a Markdown file with a Hugo shortcode. **expectation** I expected `mdformat` to not break the shortcode. **bug** Instead `mdformat` is breaking the...
add `wikilink` plugin
Consider the following document: ```markdown    ``` `mdformat` changes the document to this: ```markdown    ``` In the second case, the formatting is removed. In the...
### Describe the bug **context** Formating status badges from Azure, just copy paste the provided code by Azure devops **expectation** keep it as it is: `[?branchName=master)](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master)` **bug** with added...
Fixes #379 and #376.
### Context Refer . ### Proposal The steps are following: - Create a json schema - Add its URL to schemastore. ### Tasks and updates _No response_
### Describe the bug Alt text wrapped in grave marks is deleted. ### Reproduce the bug For example, the word "`Box`" is removed by `mdformat` ```diff -![Stack and heap with...
### Context I'm an apologetic reference link fan. For me, they make the source document easier to read, and I often send markdown documents by email (for various reasons) where...
This PR allows to specify options at `pyproject.toml` file (at `tool.mdformat` section) as most modern Python tooling (black, ruff, etc) doing. Fixes #356