| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/markdown/__pycache__/ |
Upload File : |
�
Ӽ�b=a � � � d Z ddlZddlZddlmc mZ ddlmZ ddlm Z ej
d� � Zd� Z G d� d � � Z
G d
� de
� � Z G d� d
e
� � Z G d� de
� � Z G d� de
� � Z G d� de� � Z G d� de
� � Z G d� de
� � Z G d� de
� � Z G d� de
� � Z G d� de
� � Z G d� de
� � ZdS ) a�
Python Markdown
A Python implementation of John Gruber's Markdown.
Documentation: https://python-markdown.github.io/
GitHub: https://github.com/Python-Markdown/markdown/
PyPI: https://pypi.org/project/Markdown/
Started by Manfred Stienstra (http://www.dwerg.net/).
Maintained for a few years by Yuri Takhteyev (http://www.freewisdom.org).
Currently maintained by Waylan Limberg (https://github.com/waylan),
Dmitry Shachnev (https://github.com/mitya57) and Isaac Muse (https://github.com/facelessuser).
Copyright 2007-2018 The Python Markdown Project (v. 1.7 and later)
Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b)
Copyright 2004 Manfred Stienstra (the original version)
License: BSD (see LICENSE.md for details).
CORE MARKDOWN BLOCKPARSER
===========================================================================
This parser handles basic parsing of Markdown blocks. It doesn't concern
itself with inline elements such as **bold** or *italics*, but rather just
catches blocks, lists, quotes, etc.
The BlockParser is made up of a bunch of BlockProcessors, each handling a
different type of block. Extensions may add/replace/remove BlockProcessors
as they need to alter how markdown blocks are parsed.
� N� )�util)�BlockParser�MARKDOWNc � � t | � � }|j � t |� � dd� � |j � t |� � dd� � |j � t |� � dd� � |j � t
|� � dd� � |j � t |� � d d
� � |j � t |� � dd� � |j � t |� � d
d� � |j � t |� � dd� � |j � t |� � dd� � |j � t |� � dd� � |j � t |� � dd� � |S )z2 Build the default block parser used by Markdown. �empty�d �indent�Z �code�P �
hashheader�F �setextheader�<