Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Python-Markdown/markdown
/ types & classes
Types & classes
191 in github.com/Python-Markdown/markdown
⨍
Functions
1,263
◇
Types & classes
191
↳
Endpoints
1
↓ 40 callers
Class
TocExtension
Table of Contents Extension to Python-Markdown.
markdown/extensions/toc.py:418
↓ 15 callers
Class
CodeHiliteExtension
Add source code highlighting to markdown code blocks.
markdown/extensions/codehilite.py:291
↓ 13 callers
Class
Item
A dummy `Registry` item object for testing.
tests/test_apis.py:215
↓ 6 callers
Class
Markdown
A parser which converts Markdown to HTML. Attributes: Markdown.tab_length (int): The number of spaces which correspond to a single t
markdown/core.py:46
↓ 4 callers
Class
AbbrExtension
Abbreviation Extension for Python-Markdown.
markdown/extensions/abbr.py:39
↓ 4 callers
Class
SubstituteTextPattern
markdown/extensions/smarty.py:164
↓ 3 callers
Class
CodeHilite
Determine language of source code, and pass it on to the Pygments highlighter. Usage: ```python code = CodeHilite(src=some_code, la
markdown/extensions/codehilite.py:58
↓ 3 callers
Class
EmStrongItem
Emphasis/strong pattern item.
markdown/inlinepatterns.py:186
↓ 3 callers
Class
Kwargs
A `dict` like class for holding keyword arguments.
markdown/test_tools.py:124
↓ 3 callers
Class
TableExtension
Add tables to Markdown.
markdown/extensions/tables.py:228
↓ 2 callers
Class
AtomicString
A string which should not be further processed.
markdown/util.py:189
↓ 2 callers
Class
FootnoteExtension
Footnote Extension.
markdown/extensions/footnotes.py:39
↓ 2 callers
Class
HtmlInlineProcessor
Store raw inline html and return a placeholder.
markdown/inlinepatterns.py:503
↓ 2 callers
Class
Nl2BrExtension
Newline-to-break extension for Python-Markdown.
markdown/extensions/nl2br.py:32
↓ 2 callers
Class
Registry
A priority sorted registry. A `Registry` instance provides two public methods to alter the data of the registry: `register` and `deregis
markdown/util.py:273
↓ 2 callers
Class
SubstituteTagInlineProcessor
Return an element of type `tag` with no children.
markdown/inlinepatterns.py:429
↓ 2 callers
Class
UnescapeTreeprocessor
Restore escaped chars
markdown/treeprocessors.py:454
↓ 2 callers
Class
WikiLinkExtension
Add inline processor to Markdown.
markdown/extensions/wikilinks.py:37
↓ 1 callers
Class
AbbrBlockprocessor
Parse text for abbreviation references.
markdown/extensions/abbr.py:140
↓ 1 callers
Class
AbbrTreeprocessor
Replace abbreviation text with `<abbr>` elements.
markdown/extensions/abbr.py:90
↓ 1 callers
Class
AdmonitionExtension
Admonition extension for Python-Markdown.
markdown/extensions/admonition.py:40
↓ 1 callers
Class
AdmonitionProcessor
markdown/extensions/admonition.py:58
↓ 1 callers
Class
AndSubstitutePostprocessor
Restore valid entities
markdown/postprocessors.py:110
↓ 1 callers
Class
AsteriskProcessor
Emphasis processor for handling strong and em matches inside asterisks.
markdown/inlinepatterns.py:543
↓ 1 callers
Class
AttrListExtension
Attribute List extension for Python-Markdown
markdown/extensions/attr_list.py:196
↓ 1 callers
Class
AttrListTreeprocessor
markdown/extensions/attr_list.py:91
↓ 1 callers
Class
AutolinkInlineProcessor
Return a link Element given an auto-link (`<http://example/com>`).
markdown/inlinepatterns.py:960
↓ 1 callers
Class
AutomailInlineProcessor
Return a `mailto` link Element given an auto-mail link (`<foo@example.com>`).
markdown/inlinepatterns.py:970
↓ 1 callers
Class
BacktickInlineProcessor
Return a `<code>` element containing the escaped matching text.
markdown/inlinepatterns.py:436
↓ 1 callers
Class
BlockParser
Parse Markdown blocks into an `ElementTree` object. A wrapper class that stitches the various `BlockProcessors` together, looping through th
markdown/blockparser.py:75
↓ 1 callers
Class
BlockQuoteProcessor
Process blockquotes.
markdown/blockprocessors.py:284
↓ 1 callers
Class
CodeBlockProcessor
Process code blocks.
markdown/blockprocessors.py:251
↓ 1 callers
Class
DefListExtension
Add definition lists to Markdown.
markdown/extensions/def_list.py:109
↓ 1 callers
Class
DefListIndentProcessor
Process indented children of definition list items.
markdown/extensions/def_list.py:93
↓ 1 callers
Class
DefListProcessor
Process Definition Lists.
markdown/extensions/def_list.py:30
↓ 1 callers
Class
EmptyBlockProcessor
Process blocks that are empty or start with an empty line.
markdown/blockprocessors.py:550
↓ 1 callers
Class
EscapeInlineProcessor
Return an escaped character.
markdown/inlinepatterns.py:345
↓ 1 callers
Class
ExtraExtension
Add various extensions to Markdown class.
markdown/extensions/extra.py:53
↓ 1 callers
Class
FencedBlockPreprocessor
Find and extract fenced code blocks.
markdown/extensions/fenced_code.py:61
↓ 1 callers
Class
FencedCodeExtension
markdown/extensions/fenced_code.py:38
↓ 1 callers
Class
FootnoteBlockProcessor
Find footnote definitions and store for later use.
markdown/extensions/footnotes.py:246
↓ 1 callers
Class
FootnoteInlineProcessor
`InlineProcessor` for footnote markers in a document's body text.
markdown/extensions/footnotes.py:336
↓ 1 callers
Class
FootnotePostTreeprocessor
Amend footnote div with duplicates.
markdown/extensions/footnotes.py:366
↓ 1 callers
Class
FootnotePostprocessor
Replace placeholders with html entities.
markdown/extensions/footnotes.py:480
↓ 1 callers
Class
FootnoteReorderingProcessor
Reorder list items in the footnotes div.
markdown/extensions/footnotes.py:442
↓ 1 callers
Class
FootnoteTreeprocessor
Build and append footnote div to end of document.
markdown/extensions/footnotes.py:419
↓ 1 callers
Class
HRProcessor
Process Horizontal Rules.
markdown/blockprocessors.py:516
↓ 1 callers
Class
HTMLExtractor
Extract raw HTML from text. The raw HTML is stored in the [`htmlStash`][markdown.util.HtmlStash] of the [`Markdown`][markdown.Markdown]
markdown/htmlparser.py:120
↓ 1 callers
Class
HTMLExtractorExtra
Override `HTMLExtractor` and create `etree` `Elements` for any elements which should have content parsed as Markdown.
markdown/extensions/md_in_html.py:37
↓ 1 callers
Class
HashHeaderProcessor
Process Hash Headers.
markdown/blockprocessors.py:457
↓ 1 callers
Class
HiliteTreeprocessor
Highlight source code in code blocks.
markdown/extensions/codehilite.py:253
↓ 1 callers
Class
HtmlBlockPreprocessor
Remove html blocks from the text and store them for later retrieval. The raw HTML is stored in the [`htmlStash`][markdown.util.HtmlStash] of
markdown/preprocessors.py:78
↓ 1 callers
Class
HtmlBlockPreprocessor
Remove html blocks from the text and store them for later retrieval.
markdown/extensions/md_in_html.py:300
↓ 1 callers
Class
ImageInlineProcessor
Return a `img` element from the given match.
markdown/inlinepatterns.py:852
↓ 1 callers
Class
ImageReferenceInlineProcessor
Match to a stored reference and return `img` element.
markdown/inlinepatterns.py:940
↓ 1 callers
Class
InlineProcessor
Base class that inline processors subclass. This is the newer style inline processor that uses a more efficient and flexible search appr
markdown/inlinepatterns.py:283
↓ 1 callers
Class
InlineProcessor
A `Treeprocessor` that traverses a tree, applying inline patterns.
markdown/treeprocessors.py:75
↓ 1 callers
Class
LegacyAttrExtension
markdown/extensions/legacy_attrs.py:64
↓ 1 callers
Class
LegacyAttrs
markdown/extensions/legacy_attrs.py:45
↓ 1 callers
Class
LegacyEmExtension
Add legacy_em extension to Markdown class.
markdown/extensions/legacy_em.py:42
↓ 1 callers
Class
LegacyUnderscoreProcessor
Emphasis processor for handling strong and em matches inside underscores.
markdown/extensions/legacy_em.py:30
↓ 1 callers
Class
LinkInlineProcessor
Return a link element from the given match.
markdown/inlinepatterns.py:690
↓ 1 callers
Class
ListIndentProcessor
Process children of list items. Example * a list item process this part or this part
markdown/blockprocessors.py:153
↓ 1 callers
Class
MarkdownInHTMLPostprocessor
markdown/extensions/md_in_html.py:414
↓ 1 callers
Class
MarkdownInHtmlExtension
Add Markdown parsing in HTML to Markdown class.
markdown/extensions/md_in_html.py:423
↓ 1 callers
Class
MarkdownInHtmlProcessor
Process Markdown Inside HTML Blocks which have been stored in the `HtmlStash`.
markdown/extensions/md_in_html.py:311
↓ 1 callers
Class
MetaExtension
Meta-Data extension for Python-Markdown.
markdown/extensions/meta.py:39
↓ 1 callers
Class
MetaPreprocessor
Get Meta-Data.
markdown/extensions/meta.py:59
↓ 1 callers
Class
NormalizeWhitespace
Normalize whitespace for consistent parsing.
markdown/preprocessors.py:66
↓ 1 callers
Class
OListProcessor
Process ordered list blocks.
markdown/blockprocessors.py:327
↓ 1 callers
Class
ParagraphProcessor
Process Paragraph blocks.
markdown/blockprocessors.py:606
↓ 1 callers
Class
PrettifyTreeprocessor
Add line breaks to the html document.
markdown/treeprocessors.py:415
↓ 1 callers
Class
RawHtmlPostprocessor
Restore raw html to the document.
markdown/postprocessors.py:68
↓ 1 callers
Class
ReferenceInlineProcessor
Match to a stored reference and return link element.
markdown/inlinepatterns.py:876
↓ 1 callers
Class
ReferenceProcessor
Process link references.
markdown/blockprocessors.py:577
↓ 1 callers
Class
SaneListExtension
Add sane lists to Markdown.
markdown/extensions/sane_lists.py:59
↓ 1 callers
Class
SaneOListProcessor
Override `SIBLING_TAGS` to not include `ul` and set `LAZY_OL` to `False`.
markdown/extensions/sane_lists.py:33
↓ 1 callers
Class
SaneUListProcessor
Override `SIBLING_TAGS` to not include `ol`.
markdown/extensions/sane_lists.py:47
↓ 1 callers
Class
SetextHeaderProcessor
Process Setext-style Headers.
markdown/blockprocessors.py:493
↓ 1 callers
Class
ShortImageReferenceInlineProcessor
Short form of image reference: `![ref]`.
markdown/inlinepatterns.py:952
↓ 1 callers
Class
ShortReferenceInlineProcessor
Short form of reference: `[google]`.
markdown/inlinepatterns.py:932
↓ 1 callers
Class
SimpleTextInlineProcessor
Return a simple text of `group(1)` of a Pattern.
markdown/inlinepatterns.py:338
↓ 1 callers
Class
SmartyExtension
Add Smarty to Markdown.
markdown/extensions/smarty.py:181
↓ 1 callers
Class
State
Track the current and nested state of the parser. This utility class is used to track the state of the `BlockParser` and support multiple le
markdown/blockparser.py:41
↓ 1 callers
Class
TableProcessor
Process Tables.
markdown/extensions/tables.py:38
↓ 1 callers
Class
TestExtension
tests/test_extensions.py:36
↓ 1 callers
Class
UListProcessor
Process unordered list blocks.
markdown/blockprocessors.py:445
↓ 1 callers
Class
UnderscoreProcessor
Emphasis processor for handling strong and em matches inside underscores.
markdown/inlinepatterns.py:677
↓ 1 callers
Class
WikiLinksInlineProcessor
Build link from `wikilink`.
markdown/extensions/wikilinks.py:68
↓ 1 callers
Class
_AddCodeTagTreeprocessor
tests/test_syntax/extensions/test_code_hilite.py:782
↓ 1 callers
Class
_ExtensionThatAddsAnEmptyCodeTag
tests/test_syntax/extensions/test_code_hilite.py:777
↓ 1 callers
Class
_InlineProcessorThatReturnsAtomicString
Return a simple text of `group(1)` of a Pattern.
tests/test_apis.py:729
↓ 1 callers
Class
_PriorityItem
markdown/util.py:268
↓ 1 callers
Class
recursionlimit
A context manager which temporarily modifies the Python recursion limit. The testing framework, coverage, etc. may add an arbitrary number o
markdown/test_tools.py:91
↓ 1 callers
Class
registerFakeSerializer
tests/test_apis.py:637
Class
AbbrInlineProcessor
Abbreviation inline pattern.
markdown/extensions/abbr.py:184
Class
AncestorExample
Ancestor Test.
tests/test_apis.py:932
Class
AncestorExtension
tests/test_apis.py:943
Class
BlockProcessor
Base class for block processors. Each subclass will provide the methods below to work with the source and tree. Each processor will need to
markdown/blockprocessors.py:59
Class
CustomAddLangHtmlFormatter
tests/test_syntax/extensions/test_fenced_code.py:943
next →
1–100 of 191, ranked by callers