A blohg extension with reStructuredText directives to run a tumblelog
A blohg extension with reStructuredText directives to run a tumblelog.
How to install
Install it globally using pip:
$ pip install blohg-tumblelog
Or copy blohg_tumblelog.py to the ext/ directory of your blog’s repository.
To enable it, add tumblelog to the EXTESIONS list in config.yaml.
If you are running the extension from the blog repository, you’ll need to add embedded_extensions = True to the create_app() call in your WSGI endpoint.
This directive is used to share quotes. It will create a blockquote element with the quote and add a signature with the author name, if provided.
.. quote:: :author: Myself This is a random quote!
This directive is used to share chat logs. It will add a div with the chat log, highlighted with Pygments.
.. chat:: [00:56:38] <rafaelmartins> I'm crazy. [00:56:48] <rafaelmartins> I chat alone.