mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
unify css class for pygments
This commit is contained in:
parent
e042e11c23
commit
9936538d8b
3 changed files with 11 additions and 6 deletions
|
|
@ -44,7 +44,7 @@ I'm creating my own theme. How do I use Pygments for syntax highlighting?
|
|||
|
||||
Pygments adds some classes to the generated content. These classes are used by
|
||||
themes to style code syntax highlighting via CSS. Specifically, you can
|
||||
customize the appearance of your syntax highlighting via the ``.codehilite pre``
|
||||
customize the appearance of your syntax highlighting via the ``.highlight pre``
|
||||
class in your theme's CSS file. To see how various styles can be used to render
|
||||
Django code, for example, you can use the demo `on the project website
|
||||
<http://pygments.org/demo/15101/>`_.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue