blohg-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.
Directives
link
This directive is used to share links. It will embed the content of the link to the post automatically, if the provided link is from a service that supports the oEmbed protocol. If it isn’t, and the link is from a HTML page, it will include the link with the title of the page to the post. Otherwise it will just include the raw link to the post.
Usage example:
.. link:: http://www.youtube.com/watch?v=gp30v6XMxBg
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.
Metadata
Release files for blohg-tumblelog 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blohg-tumblelog-0.2.tar.gz | 11.0 kB | Without provenance | Details for blohg-tumblelog-0.2.tar.gz |
Release files / blohg-tumblelog-0.2.tar.gz
| Download URL | blohg-tumblelog-0.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89d8cdc4fe7c2e058f657a8986123219a65a2b8caa404bec7423e93988976b04
|
|
BLAKE2b-256 checksum How to use checksums |
375a42d5b72a836d7ef7a3651f8ff1b432495fc6fbb345b88b9962ff8939a7c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for blohg-tumblelog 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.