In trying to use the pygments to format a block of wiki code, we use:
{{{
!#php5
blah, blah
}}}
the Pygments documentation says:
<dl><dt><cite>startinline</cite></dt><dd>If given and <tt>True</tt> the lexer starts highlighting with php code (i.e.: no starting <tt><?php</tt> required). The default is <tt>False</tt>.</dd></dl>
How do I pass/set this option (startinline=True) in the WikiMarkup?
<dl><dd></dd><dd></dd></dl>At the moment, we don't support the Pygments options for specific lexers. I've opened https://bitbucket.org/site/master/issue/5582/accept-pygments-options-in-highlighting for you to track whether we can do this in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.