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 into `<div class="admonition admonition-note">` and
so forth.
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 into `<div class="admonition admonition-note">` and
so forth.
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
File details
Details for the file lektor-markdown-admonition-0.1.tar.gz
.
File metadata
- Download URL: lektor-markdown-admonition-0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec004d5a816c8c1ae4b8f189ac37711428e7fd325b0d97736669d9049aa72485 |
|
MD5 | 63e225fef53c409d0371c4d79a5caf84 |
|
BLAKE2b-256 | fd2d42b207ae05ec882eeef8ec9ac6a393178ab2dd030868e6ad8665169fba6d |
Provenance
File details
Details for the file lektor_markdown_admonition-0.1-py2-none-any.whl
.
File metadata
- Download URL: lektor_markdown_admonition-0.1-py2-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbe8d67a4560b0fe7b857c0268302aa81c7e82b0933499152f4a18ae111dde1 |
|
MD5 | 24afe7b0fb519ed491d2b29d5a3d4c80 |
|
BLAKE2b-256 | 9d2575321ba1d1feb6f7f4c1e249d6db01a5fd406dc7bac5482151d630106034 |