Skip to main content

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.

Files for lektor-markdown-admonition, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size lektor_markdown_admonition-0.3.1-py2.py3-none-any.whl (3.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size lektor-markdown-admonition-0.3.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page