%PDF- %PDF-
| Direktori : /lib/python3/dist-packages/markdown/extensions/__pycache__/ |
| Current File : //lib/python3/dist-packages/markdown/extensions/__pycache__/admonition.cpython-312.pyc |
�
���e� � � � d Z ddlmZ ddlmZ ddlmZ ddlmc m Z ddl
Z
ddlmZ erdd l
mZ G d
� de� Z G d� d
e� Zd� Zy)a
Adds rST-style admonitions. Inspired by [rST][] feature with the same name.
[rST]: http://docutils.sourceforge.net/docs/ref/rst/directives.html#specific-admonitions
See the [documentation](https://Python-Markdown.github.io/extensions/admonition)
for details.
� )�annotations� )� Extension� )�BlockProcessorN)�
TYPE_CHECKING)�blockparserc � � e Zd ZdZd� Zy)�AdmonitionExtensionz+ Admonition extension for Python-Markdown. c � � |j | � |j j j t |j � dd� y)z& Add Admonition to Markdown instance. �
admonition�i N)�registerExtension�parser�blockprocessors�register�AdmonitionProcessor)�self�mds �@/usr/lib/python3/dist-packages/markdown/extensions/admonition.py�extendMarkdownz"AdmonitionExtension.extendMarkdown* s7 � �
���T�"�
� � �!�!�*�*�+>�r�y�y�+I�<�Y\�]� N)�__name__�
__module__�__qualname__�__doc__r � r r r r '