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


Download files

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

Source Distribution

blohg-tumblelog-0.1.tar.gz (11.8 kB view details)

Uploaded Source

File details

Details for the file blohg-tumblelog-0.1.tar.gz.

File metadata

  • Download URL: blohg-tumblelog-0.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for blohg-tumblelog-0.1.tar.gz
Algorithm Hash digest
SHA256 9b164fb1c58f631099d15134931d80ffd7b79a20361f443988af73cff7dc1a7d
MD5 de82c4e61a44bc254e0ab80d4b02d90b
BLAKE2b-256 d7751fa72476b6e43184bf290b1c9ef8e73a9f662a4b04ee1c792999da271cad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page