Skip to main content

A blohg extension with reStructuredText directives to run a tumblelog

Project description

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.

Directives

quote

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.

Usage example:

.. quote::
   :author: Myself

   This is a random quote!

chat

This directive is used to share chat logs. It will add a div with the chat log, highlighted with Pygments.

Usage example:

.. chat::

   [00:56:38] <rafaelmartins> I'm crazy.
   [00:56:48] <rafaelmartins> I chat alone.

Project details


Release history Release notifications

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
blohg-tumblelog-0.2.tar.gz (11.0 kB) Copy SHA256 hash SHA256 Source None Jun 12, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page