You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary
Would you please add support for 'language-console' syntax highlightin in code blocks, similar to github?
Details
To show console input/output in markdown, it currently is best to have a code block marked as console (and not shell / bash / etc). Currently, preview enhanced does not understand console as a language.
Example
```console
foo@bar:~$ whoami
foo
```
==>
foo@bar:~$ whoamifoo
Note how github is able to highlight this, while markdown preview enhanced (in vscode) does not show any highlighting.
Summary
Would you please add support for 'language-console' syntax highlightin in code blocks, similar to github?
Details
To show console input/output in markdown, it currently is best to have a code block marked as console (and not shell / bash / etc). Currently, preview enhanced does not understand console as a language.
Example
==>
Note how github is able to highlight this, while markdown preview enhanced (in vscode) does not show any highlighting.
To view the disccusion: https://stackoverflow.com/a/49004070
EDIT I see that language
shell-session
is supported by markdown preview enhanced (vscode), but github doesn't supportshell-session
.The text was updated successfully, but these errors were encountered: