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

### 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...

question

add `wikilink` plugin

Consider the following document: ```markdown ![example](/url) ![*example*](/url) ![`example`](/url) ``` `mdformat` changes the document to this: ```markdown ![example](/url) ![example](/url) ![](/url) ``` In the second case, the formatting is removed. In the...

bug

### Describe the bug **context** Formating status badges from Azure, just copy paste the provided code by Azure devops **expectation** keep it as it is: `[![Build Status](https://dev.azure.com/Lightning-AI/lightning/_apis/build/status%2Fpytorch-lightning%20(GPUs)?branchName=master)](https://dev.azure.com/Lightning-AI/lightning/_build/latest?definitionId=24&branchName=master)` **bug** with added...

enhancement

### Context Refer . ### Proposal The steps are following: - Create a json schema - Add its URL to schemastore. ### Tasks and updates _No response_

enhancement

### 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...

bug

### 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...

enhancement

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