11

It doesn't look like there is (just grey code blocks), but perhaps I am missing a way to trigger it.

  • 2
    According to this, no, there isn't. – Robert Harvey Nov 13 '13 at 23:10
  • Your command prompt doesn't even syntax highlight DOS commands. Why would you need an editor to color code that doesn't even have a defined set of colors? Just use <!-- language: lang-none --> and be done with it... – Aaron Bertrand Nov 14 '13 at 2:37
  • 6
    Aaron: True, but most people's bash shells don't colorize anything either, yet there is a highlighter for bash. – Matt J. Nov 14 '13 at 7:33
  • @AaronBertrand my terminal has the option to colorized special words even though the shell itself has no similar function – phuclv Jan 8 '17 at 5:27
  • @AaronBertrand powershell does highlight the commands, unlike cmd.exe – phuclv Nov 29 '17 at 13:40
6

Use

<!-- language: lang-vb -->

Example

rem this is a comment
set here="is a string with spaces"
rem here are some keywords
call zulu
date zulu
do zulu
else zulu
erase zulu
exit zulu
for zulu
goto zulu
if zulu
in zulu
not zulu
  • But why? It seems illogical. Can you provide an explanation in the answer? – Peter Mortensen Jul 23 at 11:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .