Hoedown Markdown formatter for PieCrust via Misaka
Project description
This plugin for PieCrust lets you use Hoedown Markdown via Misaka for faster Markdown processing. It’s much faster than the default pure Python (but more universal) Markdown formatter that comes by default with PieCrust.
To install the plugin:
pip install piecrust-hoedown
Then enable it in your website configuration:
site: plugins: [hoedown]
You can specifically use the Hoedown formatter on a per-page basis by adding format: hoedown in the page’s configuration header, but you might want to just make it the default formatter for the whole website:
site:
default_format: hoedown
auto_formats:
md: hoedown
The Hoedown formatter should be mostly compatible with the default Markdown formatter, in the sense that making it the default formatter as specified above should just work, and would make the website bake faster. However, if you were using Markdown Extensions, there may or may not be any equivalent in Hoedown. In this case, your best bet is to replace markdown with hoedown when declaring the extensions, and see if there’s an error about an extension not existing. For instance:
site: default_format: hoedown hoedown: extensions: [fenced_code, footnotes, smarty]
The list of extensions is available on the Misaka documentation. Any extension with a dash can also be written with an underscore.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PieCrust-Hoedown-0.1.0.tar.gz.
File metadata
- Download URL: PieCrust-Hoedown-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f4e4277a57891610123998d8bf268b3e7f4566b1a64b446ef6c279a6de86e03
|
|
| MD5 |
caadc5d4e162b12a6e42b46b4668369d
|
|
| BLAKE2b-256 |
5f85a0c319635d9b7996099a531a06c72d66b3ae65159e96e97ffd2eb2caaa4e
|
File details
Details for the file PieCrust_Hoedown-0.1.0-py3-none-any.whl.
File metadata
- Download URL: PieCrust_Hoedown-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cfb6c4cb49c4bdfe34181e13ce7e1305dbbe6be046b6c574dfb26a0832ecf86
|
|
| MD5 |
08f2d9d65eb4415bfe93ad2a20bcb3d6
|
|
| BLAKE2b-256 |
49f5deb7d00e13bbe1f173730a1adfa91d04c17e0bb0ad68ee2d8639ddd869d2
|