Open Freed-Wu opened 3 years ago
Because https://github.com/DavidAnson/markdownlint/issues/434, I want to add https://www.npmjs.com/package/markdown-it-texmath.
According to https://github.com/DavidAnson/markdownlint#optionsmarkdownitplugins, I should modify options.markdownItPlugins. https://github.com/fannheyward/coc-markdownlint#rules only display markdownlint.config section in coc-settings.json is same with options.config. So I guess options.markdownItPlugins should be same with markdownlint.markdownItPlugins in coc-settings.json.
However, both
"markdownlint": { "markdownItPlugins": [ require("markdown-it-plugin"), "markdown-it-texmath" ] },
and
"markdownlint": { "markdownItPlugins": [ "markdown-it-texmath" ] },
cannot work. What is the correct method to add a plugin?
Thanks!
No such support by now, will add it later.
Because https://github.com/DavidAnson/markdownlint/issues/434, I want to add https://www.npmjs.com/package/markdown-it-texmath.
According to https://github.com/DavidAnson/markdownlint#optionsmarkdownitplugins, I should modify options.markdownItPlugins. https://github.com/fannheyward/coc-markdownlint#rules only display markdownlint.config section in coc-settings.json is same with options.config. So I guess options.markdownItPlugins should be same with markdownlint.markdownItPlugins in coc-settings.json.
However, both
and
cannot work. What is the correct method to add a plugin?
Thanks!