Syntax Prettifier works on content inside [ code ] tags. So wherever someone would normally use a plain code tag, Prettifier will take over and highlight the contents.
If you mean changing the line numbers next to the code, I don't believe there's a way of changing that. You'd need to note it separately for your users as text before or after the code.
It would be extremely useful if there could be a link, somewhere obvious, pointing to documentation that explains any arguments we should be adding to the code tags.
Comments
So wherever someone would normally use a plain code tag, Prettifier will take over and highlight the contents.
It doesn't seem to work on my forum.
I mostly just want line-numbering to work.
It would be extremely useful if there could be a link, somewhere obvious, pointing to documentation that explains any arguments we should be adding to the code tags.
To show properly formatted code, do this:
<pre><code> Your code </pre></code>
The Button Bar addon provides a 'C' (Code) button for quickly wrapping code in those tags.