vscode-spell-checker
vscode-spell-checker copied to clipboard
ignoreRegExp for markdown code blocks
Hi,
Can not get working ignore for markdown code blocks, for example:
<!-- cSpell:ignoreRegExp ```[a-z]*\n[\s\S]*?\n``` -->
ignore do not work for code block:
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.1.0"
}
}
@notstyle Try putting it on its own line:
<!---
cSpell:ignoreRegExp /^(\s*`{3,})[a-z]*[\s\S]*?^\1/gm
--->
See: https://regex101.com/r/Xo1fnr/1
Note: <!--- with 3 -, tells Markdown not to include the comment in the rendered HTML.