Closed RokeJulianLockhart closed 1 week ago
do not use defaultRules
and use whatever you want yourself
https://github.com/zhaouv/vscode-markdown-everywhere/issues/22#issuecomment-2199505036
@zhaouv, where is it defined in there, though? I can't remove the part defining the MD
, because it's not in $HOME/.config/Code - Insiders/User/settings.json
, unlike https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/build/rules.js#L4-L6...
Please carefully review the README.md
https://github.com/zhaouv/vscode-markdown-everywhere/issues/22#issuecomment-2199916515
@zhaouv, I think per https://github.com/zhaouv/vscode-markdown-everywhere/pull/23#issue-2384443583, I can confidently say that I've had a thorough look. However, I don't think I'm any the wiser - it wasn't necessarily easily to understand. Can you give me any pointers regarding https://github.com/zhaouv/vscode-markdown-everywhere/issues/22#issuecomment-2199794721?
Save the first element defaultRules to keep default rules. Remove to only use customized rules.
"markdown-everywhere.customized-rules": [
"defaultRules",
{
"name": "number-sign-equals",
"beginRegExp": "#=\\s*\\[markdown\\]",
"endRegExp": "=#",
"example": "#= [markdown]<br># title<br>content<br>=#",
"languages": [
{ "name": "julia", "source": "source.julia" }
]
}
]
you can remove the defaultRules
which cancel the MD
rules, and put your own rules
It's standard to include a single space after the comment delimiter, but https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/build/rules.js:
doesn't appear to take that into account.