You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline code attributes allow code highlighting, as described here. However, though my .theme file has a background color set, inline code is not rendered with any background (non-inline code blocks are rendered as expected). I would like to combine inline code syntax highlighting with background color, and don't see a way to do this. Take this md code:
`<$>`{.haskell}
Pandoc renders this to tex as \VERB|\OperatorTok{\textless{}$\textgreater{}}|. When I postprocess the tex file by wrapping this in a \tcbox from tcolorbox and crucially changing the $ to \$ (following hints I have found, e.g. here), I get the output I'm looking for. I would like this to be how my inline code is automatically rendered in tex, but anything I can see to try (e.g., redefining \VERB) does not seem workable.
The text was updated successfully, but these errors were encountered:
Inline code attributes allow code highlighting, as described here. However, though my
.theme
file has a background color set, inline code is not rendered with any background (non-inline code blocks are rendered as expected). I would like to combine inline code syntax highlighting with background color, and don't see a way to do this. Take this md code:Pandoc renders this to tex as
\VERB|\OperatorTok{\textless{}$\textgreater{}}|
. When I postprocess the tex file by wrapping this in a\tcbox
fromtcolorbox
and crucially changing the$
to\$
(following hints I have found, e.g. here), I get the output I'm looking for. I would like this to be how my inline code is automatically rendered in tex, but anything I can see to try (e.g., redefining\VERB
) does not seem workable.The text was updated successfully, but these errors were encountered: