Julien Enselme 3a804aec12 Creole reader: add source code highlighting support. | 10 år sedan | |
---|---|---|
.. | ||
Readme.md | 10 år sedan | |
__init__.py | 10 år sedan | |
creole_reader.py | 10 år sedan |
This plugins allows you to write your posts using the wikicreole syntax. Give to
these files the creole extension. The metadata are between <<header>> <</header>>
tags.
This plugin relies on python-creole to work. Install it with:
pip install python-creole
Use ** for strong, // for emphasis, one = for 1st level titles. Please use the
following macro for code highlighting:
<<code ext=".file_extension">> <</code>>
For the complete syntax, look at: http://www.wikicreole.org/
<<header>>
title: Créole
tags: creole, python, pelican_open
date: 2013-12-12
<</header>>
= Title 1
== Title 2
Some nice text with **strong** and //emphasis//.
* A nice list
** With sub-elements
* Python
<<code ext=".py">>
print("Hello World")
<</code>>
# An ordered list
# A second item