This is a python3 project.
Syntax highlighting code blocks is done with pygments syntax by using <pre lang="<your lang>"> </pre>
blocks. Note: blank lines inside the pre
blocks break the syntax highlighting.
Blog post sources are stored in db/
.
Create a directory called ftp
(yeah, Iโm that old) where all the static blog files will be output. That directory is not included in this repository because it is usually a symlink to a different repository or subrepository.
Then do something like this:
$ pip install -r pip-requires
$ ./pyblee.py
Run tests with py.test
:
$ py.test test_*