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.

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.

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


That should work



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.

1 Like

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.