Name: lektor-markdown-admonition
Owner: Lektor CMS
Description: null
Created: 2015-12-26 11:45:24.0
Updated: 2018-05-12 19:01:21.0
Pushed: 2018-05-12 19:01:23.0
Homepage: null
Size: 3
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This plugin adds admonition tags to Markdown for Lektor. This feature is inspired by the extension in Python Markdown but simplified.
To enable the plugin run this command:
ktor plugins add markdown-admonition
A paragraph prefixed with exclamation marks is handled as admonition:
note
n 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">
|