Syntax coloured code in Markdown fenced blocks
Closed this issue · 1 comments
PeterWone commented
Discussed in #315
Originally posted by filviu June 18, 2024
Apologies if this is already answered I tried searching but couldn't find anything.
If I have code blocks in markdown files like this:
echo "Hello World"
The block has syntax highlighting in vscode and in the markdown preview window (as long as I use a language identifier after the backticks). But the printed output has no such coloring. Is this something I'm messing up or is it expected behavior ?
I tried a few language identifiers but none seemed to have any effect.
Thanks !
I'm attaching an example to illustrate what I mean.
PeterWone commented
done