I'm using a code block macro. Even though the macro does not have any syntax highlighting enabled, the content renders with colors. It appears to interpret two slashes '//' as comments.
For instance, part of the URL in the below code macro is colored green:
One solution is to select 'Plain Text' in the syntax highlighting field. Answer provided by the user zeddee in writethedocs.slack.com.
Michael,
I don't think it's possible to completely disable the colors. If you want something that looks like the code block macro, but you don't want automatic coloring, you could use a panel macro instead and change the font to "Preformatted". That said, I'm not a programmer and there might be other features built into the code block macro that you do want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.