Discourse supports the BBcode but You need a line break after [code] block for it to work.
eg:
[code]
hatiden@ubuntu:~$ gedit ~/.bashrc
hatiden@ubuntu:~$ gedit ~/.bashrc
hatiden@ubuntu:~$ cd /home/hatiden/garfield/
hatiden@ubuntu:~/garfield$ ls
Discourse supports the BBcode but You need a line break after [code] block for it to work.
eg:
[code]
hatiden@ubuntu:~$ gedit ~/.bashrc
hatiden@ubuntu:~$ gedit ~/.bashrc
hatiden@ubuntu:~$ cd /home/hatiden/garfield/
hatiden@ubuntu:~/garfield$ ls