Code Highlighting with Pelican
21/06/2014 - 20:24
by
poney
Pelican is a static site generator written in Python. It uses Pygments for highlighting code blocks.
The syntax for python code shoud be:
.. code-block:: python
def my_function():
"just a test"
print 8/2
And the expected result is:
def my_function():
"just a test"
print 8/2
read more