jgm / gitit

A wiki using HAppS, pandoc, and git
GNU General Public License v2.0
2.15k stars 225 forks source link

Question: Any possible to use pygments to highlight code? #611

Open zengxs opened 6 years ago

zengxs commented 6 years ago

Or other highlighters.

wagle commented 6 years ago

I've been using things like this:

<font style="background-color: rgba(255,255,0,0.5);">

but its very verbose and sure wish there was a way to do it that was possible to remember from week to week.

Is this pandoc or gitit passing that onto the webserver?