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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lektor_markdown_admonition-0.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file lektor_markdown_admonition-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for lektor_markdown_admonition-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 94e9c98bc9999c6c5d6f061074a7b7cb022a050ec20e507a0a9bb1c0c0446136
MD5 c80fc1d435278e7a0f53edd34adcc847
BLAKE2b-256 c9d4d073694773d9ec883e0a5877f5d928d3a0ce22593a993c5bdf355ed55e21

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page