zhaouv / vscode-markdown-everywhere

Embed and highlight and preview markdown in any language which support line-comment or block-comment for vscode.
https://marketplace.visualstudio.com/items?itemName=zhaouv.vscode-markdown-everywhere
Apache License 2.0
10 stars 4 forks source link

Syntax highlighting in comments doesn't work. #21

Closed RokeJulianLockhart closed 5 months ago

RokeJulianLockhart commented 5 months ago

I see https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/README.md#markdown-everywhere that it's meant to, but it doesn't appear to for me:

Screenshot_20240629_150738

zhaouv commented 5 months ago

the extension only works on the format in its settings e.g. # MD xxxxx

RokeJulianLockhart commented 5 months ago

https://github.com/zhaouv/vscode-markdown-everywhere/issues/21#issuecomment-2198213693

@zhaouv, which preference do you refer to? markdown-everywhere.preview-mode-language?

zhaouv commented 5 months ago

https://github.com/zhaouv/vscode-markdown-everywhere#supported-list > Example

RokeJulianLockhart commented 5 months ago

https://github.com/zhaouv/vscode-markdown-everywhere/issues/21#issuecomment-2198229913

@zhaouv, thanks. I see in https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/README.md?plain=1#L142, https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/README.md?plain=1#L145, https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/README.md?plain=1#L147, and https://github.com/zhaouv/vscode-markdown-everywhere/blob/672ff46b217ebb07edeaf4270cd6116356498737/README.md?plain=1#L153 that the comments must be prefixed with MD. Can this be disabled? I'd like it to apply to all comments.

RokeJulianLockhart commented 5 months ago

https://github.com/zhaouv/vscode-markdown-everywhere/issues/21#issuecomment-2198244248

It appears that I've already discussed this in https://github.com/zhaouv/vscode-markdown-everywhere/issues/10#issuecomment-1867222283.