ó ç\c @@ s d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l Z d e f d YZ d e f d YZ i d Z d S( u Admonition extension for Python-Markdown ======================================== Adds rST-style admonitions. Inspired by [rST][] feature with the same name. The syntax is (followed by an indented block with the contents): !!! [type] [optional explicit title] Where `type` is used as a CSS class name of the div. If not present, `title` defaults to the capitalized `type`, so "note" -> "Note". rST suggests the following `types`, but you're free to use whatever you want: attention, caution, danger, error, hint, important, note, tip, warning A simple example: !!! note This is the first line inside the box. Outputs:
Note
This is the first line inside the box
Did you know?
Another line here.