lektor/lektor-markdown-admonition

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

ktor plugins add markdown-admonition
Syntax

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"> |


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.