Markdownlint
=this.title
🔗
Needs update
Information on markdownlint, markdownlint-cli and now markdownlint-cli2 not properly separated
= ("[Website](" + this.url + ")")
| = ("[Source](" + this.source + ")")
| = ("[Documentation](" + this.docs + ")")
= ("> " + this.desc-short)
See also: Markdown
= ("[Documentation](" + this.docs + ")")
Configuration🔗
- sets of rules can be collected in a style, e.g.
relaxed.json
, see example styles
markdownlint-cli🔗
For defaults see example YAML config file on GitHub.
Config files: ~/.mdlrc
or specify through argument
1 |
|
Does support overrides, e.g. for sub-dirs to some extent.^[https://github.com/igorshubovych/markdownlint-cli/issues/53]
markdownlint-cli2🔗
- markdownlint-cli2 on GitHub
- markdownlint-cli2-formatter-summarize: An output formatter for markdownlint-cli2 that summarizes the results
Essential Fixes🔗
Especially relevant for publishing Markdown notes, for example with public/tech/documentation/MkDocs
- indentation: notes don’t render correctly if indent is wrong
- newlines around certain elements required for proper rendering: lists, fenced code blocks, …
- frontmatter: some Markdown parsers choke on invalid YAML syntax, e.g. empty keys or strings with colons, such as URLs
https:...
Integrations🔗
-
markdownlint-cli: MarkdownLint Command Line Interface
- run using Docker
1
docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest "*.md"
- markdownlint-cli2: A fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the markdownlint library
- Editors
- (N)VIM
- coc-markdownlint: markdownlint extension for coc.nvim
- (N)VIM