Add pymarkdown for Markdown linting (#4906)

Add support for pymarkdown

Closes #4785
This commit is contained in:
Raph471
2025-03-11 12:31:31 +00:00
committed by GitHub
parent f0c8eb4fa8
commit b26608681d
7 changed files with 236 additions and 1 deletions
+58 -1
View File
@@ -83,13 +83,70 @@ g:ale_markdown_pandoc_options *g:ale_markdown_pandoc_options*
This variable can be set to change the default options passed to pandoc
===============================================================================
prettier *ale-markdown-prettier*
See |ale-javascript-prettier| for information about the available options.
===============================================================================
pymarkdown *ale-markdown-pymarkdown*
g:ale_markdown_pymarkdown_executable *g:ale_markdown_pymarkdown_executable*
*b:ale_markdown_pymarkdown_executable*
Type: |String|
Default: `'pymarkdown'`
See |ale-integrations-local-executables|
Set this to `'pipenv'` to invoke `'pipenv` `run` `pymarkdown'`.
Set this to `'poetry'` to invoke `'poetry` `run` `pymarkdown'`.
g:ale_markdown_pymarkdown_options *g:ale_markdown_pymarkdown_options*
*b:ale_markdown_pymarkdown_options*
Type: |String|
Default: `''`
This variable can be changed to add command-line arguments to the
pymarkdown invocation.
g:ale_markdown_pymarkdown_use_global *g:ale_markdown_pymarkdown_use_global*
*b:ale_markdown_pymarkdown_use_global*
Type: |Number|
Default: `get(g:, 'ale_use_global_executables', 0)`
See |ale-integrations-local-executables|
g:ale_markdown_pymarkdown_auto_pipenv *g:ale_markdown_pymarkdown_auto_pipenv*
*b:ale_markdown_pymarkdown_auto_pipenv*
Type: |Number|
Default: `0`
Detect whether the file is inside a pipenv, and set the executable to `pipenv`
if true. This is overridden by a manually-set executable.
g:ale_markdown_pymarkdown_auto_poetry *g:ale_markdown_pymarkdown_auto_poetry*
*b:ale_markdown_pymarkdown_auto_poetry*
Type: |Number|
Default: `0`
Detect whether the file is inside a poetry, and set the executable to `poetry`
if true. This is overridden by a manually-set executable.
g:ale_markdown_pymarkdown_auto_uv *g:ale_markdown_pymarkdown_auto_uv*
*b:ale_markdown_pymarkdown_auto_uv*
Type: |Number|
Default: `0`
Set the executable to `uv` if true. This is overridden by a manually-set
executable.
===============================================================================
remark-lint *ale-markdown-remark-lint*