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.
Metadata
Release files for PieCrust-Hoedown 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PieCrust-Hoedown-0.1.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PieCrust_Hoedown-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / PieCrust-Hoedown-0.1.0.tar.gz
| Download URL | PieCrust-Hoedown-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f4e4277a57891610123998d8bf268b3e7f4566b1a64b446ef6c279a6de86e03
|
|
BLAKE2b-256 checksum How to use checksums |
5f85a0c319635d9b7996099a531a06c72d66b3ae65159e96e97ffd2eb2caaa4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / PieCrust_Hoedown-0.1.0-py3-none-any.whl
| Download URL | PieCrust_Hoedown-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cfb6c4cb49c4bdfe34181e13ce7e1305dbbe6be046b6c574dfb26a0832ecf86
|
|
BLAKE2b-256 checksum How to use checksums |
49f5deb7d00e13bbe1f173730a1adfa91d04c17e0bb0ad68ee2d8639ddd869d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |