component-docs icon indicating copy to clipboard operation
component-docs copied to clipboard

Move relevant `sh` codeblocks to `console`

Open mkatychev opened this issue 8 months ago • 9 comments

yeah so my stance on that is that writing into a console is not normally syntax highlighted either, so it matches.

If we have a shell script, or a bash script, then it makes sense to use those, but my stance here is that if it's a console command you're supposed to enter there are other ways to make it more readable:

something \
    --like this \
    --rather-than console

and if it's code, then it should be highlighted.

Originally posted by @vados-cosmonic in https://github.com/bytecodealliance/component-docs/pull/218#discussion_r2011220029

mkatychev avatar Mar 25 '25 18:03 mkatychev