Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lektor-markdown-admonition

Package Overview
Dependencies
Maintainers
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lektor-markdown-admonition

Adds basic admonition tag support to Markdown.

  • 0.3.1
  • PyPI
  • Socket score

Maintainers
5

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 PrefixRendered div
!<div class="admonition admonition-note">
!!<div class="admonition admonition-info">
!!!<div class="admonition admonition-tip">
!!!!<div class="admonition admonition-warning">

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc