Adds basic admonition tag support to Markdown.
Project description
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"> |
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
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 lektor-markdown-admonition-0.3.1.tar.gz.
File metadata
- Download URL: lektor-markdown-admonition-0.3.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c769228316a144dfafc34f6180badff906cd37c99bc45566594dfd632bfda77
|
|
| MD5 |
273a0dffbfcb5baa73fcdc269b265304
|
|
| BLAKE2b-256 |
dfb5f6c0710044dccb28e52da1e5f58a9a1e8090cbb43e14162f3ae4be349bed
|
File details
Details for the file lektor_markdown_admonition-0.3.1-py2.py3-none-any.whl.
File metadata
- Download URL: lektor_markdown_admonition-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514c2c93ba66fb93abdbfaa927d9c4f52ade25d6362d007c2e40c9b939059980
|
|
| MD5 |
437e44f424fede35c4cba4636981b7c8
|
|
| BLAKE2b-256 |
8dda2ec94d024be3c329a438b7741a2e729d50e102a6d1dd9e1f1225e7e26e6e
|