Debian Codegraph @

markdown/__init__.py

raw
1 # Python Markdown
2
3 # A Python implementation of John Gruber's Markdown.
4
5 # - Documentation: https://python-markdown.github.io/
6 # - GitHub: https://github.com/Python-Markdown/markdown/
7 # - PyPI: https://pypi.org/project/Markdown/
8
9 # Started by Manfred Stienstra (http://www.dwerg.net/).
10 # Maintained for a few years by Yuri Takhteyev (http://www.freewisdom.org).
11 # Currently maintained by Waylan Limberg (https://github.com/waylan),
12 # Dmitry Shachnev (https://github.com/mitya57) and Isaac Muse (https://github.com/facelessuser).
13
14 # - Copyright 2007-2023 The Python Markdown Project (v. 1.7 and later)
15 # - Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b)
16 # - Copyright 2004 Manfred Stienstra (the original version)
17
18 # License: BSD (see LICENSE.md for details).
19
20 """
21 Python-Markdown provides two public functions ([`markdown.markdown`][] and [`markdown.markdownFromFile`][])
22 both of which wrap the public class [`markdown.Markdown`][]. All submodules support these public functions
23 and class and/or provide extension support.
24
25 Modules:
26 core: Core functionality.
27 preprocessors: Pre-processors.
28 blockparser: Core Markdown block parser.
29 blockprocessors: Block processors.
30 treeprocessors: Tree processors.
31 inlinepatterns: Inline patterns.
32 postprocessors: Post-processors.
33 serializers: Serializers.
34 util: Utility functions.
35 htmlparser: HTML parser.
36 test_tools: Testing utilities.
37 extensions: Markdown extensions.
38 """
39
40 from __future__ import annotations
41
42 from .core import Markdown, markdown, markdownFromFile
43 from .__meta__ import __version__, __version_info__ # noqa
44
45 # For backward compatibility as some extensions expect it...
46 from .extensions import Extension # noqa
47
48 __all__ = ['Markdown', 'markdown', 'markdownFromFile']