How to enable [code] feature in the forum?



I was using Mybb Forum software and then it was converted to Discourse. The problem with the conversion is that everything went through except for the BLAH BLAH … how do i enable this feature so that all forum posts will display the info.

(Jay Pfaffman) #2

Can you give an example? I can’t understand what you’re talking about.


I have lot of threads that use the
but they the text that is in between the brackets (in the middle) does not show.

(James) #4

Try using this character at the start and end of the code: `


(Jeff Atwood) #5

That should work



(Jay Pfaffman) #6

There is a bbcode plugin that might help.

You could try replacing the code blocks with back ticks as described. There is a rake task that will do such replacements.


the bbcode plugin is GitHub - discourse/discourse-bbcode: vBulletin BBCode plugin but i do not know how to install.

i can perhaps do the rake task but i would not know how to begin.

(Sam Saffron) #8