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
9 stars 3 forks source link

Support Syntax Highlighting of the file source language in the Embedded Preview #5

Closed MatrixRanger98 closed 3 years ago

MatrixRanger98 commented 3 years ago

As the Markdown paragraphs are written as comments in scripts of a particular language, it is more comfortable to have the feature of syntax highlighting in preview for the entire file.

zhaouv commented 3 years ago

I can't understand syntax highlighting in preview for the entire file. Maybe you should describe it more. It seems similar with the fenced previewing mode.

MatrixRanger98 commented 3 years ago

I mean you can add syntax highlighting in preview panel not only in the markdown chunk but also outside the chunk for the rest of the codes. It does not seem necessary as there is already highlighting in the editor but it would look more beautiful.

zhaouv commented 3 years ago

but in the fenced mode, the markdown has been rendered as html. the python code highlighted by fenced code. why it is not satisfying the require. maybe you can use something like Microsoft Word to change the color of code and show a picture of what you thought.