Closed isuftin closed 6 months ago
Thank you for the detailed information! If you could please share a link to one or more Markdown files that cause this problem, I can try to reproduce it myself and see what's going wrong.
@DavidAnson - This is happening on any Markdown file that I open in VSCode
Even something like:
hello
I will note that if I comment out the markdown-it-emoji
plugin from the markdownItPlugins
list, it seems to work fine. So maybe this issue should be opened w/ https://github.com/markdown-it/markdown-it-emoji
I did also notice that in their latest version, 3.0.0, thy do mention that their exports have changed ( https://github.com/markdown-it/markdown-it-emoji#markdown-it-emoji ) though I'm not sure how that works with this VSCode plugin.
Yes, you need to update how you reference that plugin because of what they did. Here is an example: https://github.com/DavidAnson/markdownlint-cli2/commit/79a02e319529194613c41a3cbc0cad570b516ae4
@DavidAnson - Perfect, that did indeed fix it.
---
ignores:
- 'CHANGELOG.md'
markdownItPlugins:
- - '@iktakahiro/markdown-it-katex'
- - 'markdown-it-emoji/dist/bare.cjs.js'
- - 'markdown-it-for-inline'
outputFormatters:
- - markdownlint-cli2-formatter-pretty
- - markdownlint-cli2-formatter-summarize
- byFile: true
byRule: true
byFileByRule: true
- - markdownlint-cli2-formatter-junit
config:
MD013:
code_blocks: false
Appreciate the help and the plugin!
Using plugin version 0.53.0, I am getting
e.apply is not a function
from markdownlint logs when either@iktakahiro/markdown-it-katex
ormarkdown-it-emoji
is activated.The following is my markdownlint-cli2 config:
VScode Info
Sample error log:
Installed list:
Please let me know what other information I can provide