lektor-markdown-admonition
This plugin adds admonition tags to Markdown for Lektor. This feature is inspired by the extension in Python Markdown but simplified.
Enabling the Plugin
To enable the plugin run this command:
$ lektor plugins add markdown-admonition
Syntax
A paragraph prefixed with exclamation marks is handled as admonition:
! a note
!! an informational message
!!! a tip to users
!!!! a warning
They are rendered as follows:
| Markdown Prefix | Rendered div |
|---|---|
| ! | <div class="admonition admonition-note"> |
| !! | <div class="admonition admonition-info"> |
| !!! | <div class="admonition admonition-tip"> |
| !!!! | <div class="admonition admonition-warning"> |
Release files for lektor-markdown-admonition 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lektor-markdown-admonition-0.3.1.tar.gz | 2.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lektor_markdown_admonition-0.3.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / lektor-markdown-admonition-0.3.1.tar.gz
| Download URL | lektor-markdown-admonition-0.3.1.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c769228316a144dfafc34f6180badff906cd37c99bc45566594dfd632bfda77
|
|
BLAKE2b-256 checksum How to use checksums |
dfb5f6c0710044dccb28e52da1e5f58a9a1e8090cbb43e14162f3ae4be349bed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.19.1 CPython/3.6.7
|
Release files / lektor_markdown_admonition-0.3.1-py2.py3-none-any.whl
| Download URL | lektor_markdown_admonition-0.3.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
514c2c93ba66fb93abdbfaa927d9c4f52ade25d6362d007c2e40c9b939059980
|
|
BLAKE2b-256 checksum How to use checksums |
8dda2ec94d024be3c329a438b7741a2e729d50e102a6d1dd9e1f1225e7e26e6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.19.1 CPython/3.6.7
|