cancel
Showing results for 
Search instead for 
Did you mean: 

Support code snippets or <code> tags in messages on Mozilla Connect

alexdelorenzo
Making moves

The editor currently supports <code></code> and renders content using a fixed-width font with a grey background when the tags are entered into the HTML editor.
However, when you go to post a message using the code tag, the tags are stripped from the message entirely and you get an error message.
Currently, Connect supports code blocks

 

like this

 

But inline code snippets are not supported.
Using Markdown, for example, would let you `do this`, and the text in the back-ticks gets rendered inside code tags.

0 REPLIES 0