Codeblocks for shell session


December 2, 2023

Technical documents often include outputs of shell script. For a while, I have been using the same language code shell for shell output, which usually returns incorrect syntax highlighting. The wrongness varies from parser-to-parser.

$ echo "this is not perfect"
"this is not perfect"

Turns out, codeblocks for shell-session is a thing!

$ echo "this is more accurate!"
"this is more accurate!"

Thanks for reading. More like this?

#til #markdown

© 2023-2025 Wilson Husin

This site was last updated 2025-05-17T20:42:58-0700.

:wq