As it makes explaining what to type in the terminal while providing support to some issues, i make a lot of use of the html tag kbd, this is rendered differently from the pre and code tags on modern browsers.
Example:
this vs this
`this` vs <kbd>this</kbd>
I assume more people would use it if they knew about it.
So could this be added to the toolbar of the editor of the replies, with some icon of a keyboard for example?
(The forum changes the unicode U+2328 used in the above icon, so it’s not displayed correctly.)
It’s just a better (proper) way of indicating keyboard input instead of terminal output…
I was just searching the forum for this exact same thing.
When I type the kbd tag, like Apply, the background isn’t grey. Did you apply an additional tag or style? Never mind, it’s different in the preview.
Also in the post, https://forum.manjaro.org/t/root-tip-change-username/15654/2, for example, @freggel.doe uses the code tag, but where did the syntax highlighting come from and the grey background? A blockquote changes the quotes.
Test - hmlt tags, markdown
grep -rn "/home/$OLDLOGIN/" # code block - using ```
grep -rn "/home/$OLDLOGIN/" # lead with 4 spaces
grep -rn "/home/$OLDLOGIN/" # inline code with ` `