I have a question, how to insert a terminal command in a post on frum so that it is visible and possible to copy?
Type three backticks — i.e. `, not ’ – followed by a newline, then paste the output on the next line, then insert another newline and type three backticks again.
Alternatively, you can click the </> button in the toolbar of the post editor.
The Manjaro Discourse forum uses Commonmark. Here’s a cheatsheet.
To answer your specific question, I either use code blocks or quote blocks.
``` code block ```
[code] code block [/code]
> quote block >
[quote] quote block [/quote]
NOTE: The bracket syntax is actually bbcode. I think this might be a Discourse addon, but not sure.
Overall repeating what has been said above.
Thank you very much for help
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.