%PDF- %PDF-
Direktori : /lib/python3/dist-packages/markdown/extensions/__pycache__/ |
Current File : //lib/python3/dist-packages/markdown/extensions/__pycache__/meta.cpython-312.pyc |
� ���e( � �. � d Z ddlmZ ddlmZ ddlmZ ddlZddlZddl m Z ej d � Z ej d � Z ej d� Z ej d� Z ej d � Z G d� de� Z G d� de� Zd� Zy)z� This extension adds Meta Data handling to markdown. See the [documentation](https://Python-Markdown.github.io/extensions/meta_data) for details. � )�annotations� )� Extension� )�PreprocessorN)�Any�MARKDOWNz1^[ ]{0,3}(?P<key>[A-Za-z0-9_-]+):\s*(?P<value>.*)z^[ ]{4,}(?P<value>.*)z^-{3}(\s.*)?z^(-{3}|\.{3})(\s.*)?c � � e Zd ZdZd� Zdd�Zy)� MetaExtensionz* Meta-Data extension for Python-Markdown. c � � |j | � || _ |j j t |� dd� y)z. Add `MetaPreprocessor` to Markdown instance. �meta� N)�registerExtension�md� preprocessors�register�MetaPreprocessor)�selfr s �:/usr/lib/python3/dist-packages/markdown/extensions/meta.py�extendMarkdownzMetaExtension.extendMarkdown* s5 � � ���T�"���� ���!�!�"2�2�"6���C� c �&