Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Passing options to Pygments in the Wiki

Jared B December 3, 2012

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>

1 answer

1 accepted

0 votes
Answer accepted
aMarcus
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 3, 2012

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events