MCPcopy Create free account

hub / github.com/Python-Markdown/markdown / types & classes

Types & classes191 in github.com/Python-Markdown/markdown

↓ 40 callersClassTocExtension
Table of Contents Extension to Python-Markdown.
markdown/extensions/toc.py:418
↓ 15 callersClassCodeHiliteExtension
Add source code highlighting to markdown code blocks.
markdown/extensions/codehilite.py:291
↓ 13 callersClassItem
A dummy `Registry` item object for testing.
tests/test_apis.py:215
↓ 6 callersClassMarkdown
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 callersClassAbbrExtension
Abbreviation Extension for Python-Markdown.
markdown/extensions/abbr.py:39
↓ 4 callersClassSubstituteTextPattern
markdown/extensions/smarty.py:164
↓ 3 callersClassCodeHilite
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 callersClassEmStrongItem
Emphasis/strong pattern item.
markdown/inlinepatterns.py:186
↓ 3 callersClassKwargs
A `dict` like class for holding keyword arguments.
markdown/test_tools.py:124
↓ 3 callersClassTableExtension
Add tables to Markdown.
markdown/extensions/tables.py:228
↓ 2 callersClassAtomicString
A string which should not be further processed.
markdown/util.py:189
↓ 2 callersClassFootnoteExtension
Footnote Extension.
markdown/extensions/footnotes.py:39
↓ 2 callersClassHtmlInlineProcessor
Store raw inline html and return a placeholder.
markdown/inlinepatterns.py:503
↓ 2 callersClassNl2BrExtension
Newline-to-break extension for Python-Markdown.
markdown/extensions/nl2br.py:32
↓ 2 callersClassRegistry
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 callersClassSubstituteTagInlineProcessor
Return an element of type `tag` with no children.
markdown/inlinepatterns.py:429
↓ 2 callersClassUnescapeTreeprocessor
Restore escaped chars
markdown/treeprocessors.py:454
↓ 2 callersClassWikiLinkExtension
Add inline processor to Markdown.
markdown/extensions/wikilinks.py:37
↓ 1 callersClassAbbrBlockprocessor
Parse text for abbreviation references.
markdown/extensions/abbr.py:140
↓ 1 callersClassAbbrTreeprocessor
Replace abbreviation text with `<abbr>` elements.
markdown/extensions/abbr.py:90
↓ 1 callersClassAdmonitionExtension
Admonition extension for Python-Markdown.
markdown/extensions/admonition.py:40
↓ 1 callersClassAdmonitionProcessor
markdown/extensions/admonition.py:58
↓ 1 callersClassAndSubstitutePostprocessor
Restore valid entities
markdown/postprocessors.py:110
↓ 1 callersClassAsteriskProcessor
Emphasis processor for handling strong and em matches inside asterisks.
markdown/inlinepatterns.py:543
↓ 1 callersClassAttrListExtension
Attribute List extension for Python-Markdown
markdown/extensions/attr_list.py:196
↓ 1 callersClassAttrListTreeprocessor
markdown/extensions/attr_list.py:91
↓ 1 callersClassAutolinkInlineProcessor
Return a link Element given an auto-link (`<http://example/com>`).
markdown/inlinepatterns.py:960
↓ 1 callersClassAutomailInlineProcessor
Return a `mailto` link Element given an auto-mail link (`<foo@example.com>`).
markdown/inlinepatterns.py:970
↓ 1 callersClassBacktickInlineProcessor
Return a `<code>` element containing the escaped matching text.
markdown/inlinepatterns.py:436
↓ 1 callersClassBlockParser
Parse Markdown blocks into an `ElementTree` object. A wrapper class that stitches the various `BlockProcessors` together, looping through th
markdown/blockparser.py:75
↓ 1 callersClassBlockQuoteProcessor
Process blockquotes.
markdown/blockprocessors.py:284
↓ 1 callersClassCodeBlockProcessor
Process code blocks.
markdown/blockprocessors.py:251
↓ 1 callersClassDefListExtension
Add definition lists to Markdown.
markdown/extensions/def_list.py:109
↓ 1 callersClassDefListIndentProcessor
Process indented children of definition list items.
markdown/extensions/def_list.py:93
↓ 1 callersClassDefListProcessor
Process Definition Lists.
markdown/extensions/def_list.py:30
↓ 1 callersClassEmptyBlockProcessor
Process blocks that are empty or start with an empty line.
markdown/blockprocessors.py:550
↓ 1 callersClassEscapeInlineProcessor
Return an escaped character.
markdown/inlinepatterns.py:345
↓ 1 callersClassExtraExtension
Add various extensions to Markdown class.
markdown/extensions/extra.py:53
↓ 1 callersClassFencedBlockPreprocessor
Find and extract fenced code blocks.
markdown/extensions/fenced_code.py:61
↓ 1 callersClassFencedCodeExtension
markdown/extensions/fenced_code.py:38
↓ 1 callersClassFootnoteBlockProcessor
Find footnote definitions and store for later use.
markdown/extensions/footnotes.py:246
↓ 1 callersClassFootnoteInlineProcessor
`InlineProcessor` for footnote markers in a document's body text.
markdown/extensions/footnotes.py:336
↓ 1 callersClassFootnotePostTreeprocessor
Amend footnote div with duplicates.
markdown/extensions/footnotes.py:366
↓ 1 callersClassFootnotePostprocessor
Replace placeholders with html entities.
markdown/extensions/footnotes.py:480
↓ 1 callersClassFootnoteReorderingProcessor
Reorder list items in the footnotes div.
markdown/extensions/footnotes.py:442
↓ 1 callersClassFootnoteTreeprocessor
Build and append footnote div to end of document.
markdown/extensions/footnotes.py:419
↓ 1 callersClassHRProcessor
Process Horizontal Rules.
markdown/blockprocessors.py:516
↓ 1 callersClassHTMLExtractor
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 callersClassHTMLExtractorExtra
Override `HTMLExtractor` and create `etree` `Elements` for any elements which should have content parsed as Markdown.
markdown/extensions/md_in_html.py:37
↓ 1 callersClassHashHeaderProcessor
Process Hash Headers.
markdown/blockprocessors.py:457
↓ 1 callersClassHiliteTreeprocessor
Highlight source code in code blocks.
markdown/extensions/codehilite.py:253
↓ 1 callersClassHtmlBlockPreprocessor
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 callersClassHtmlBlockPreprocessor
Remove html blocks from the text and store them for later retrieval.
markdown/extensions/md_in_html.py:300
↓ 1 callersClassImageInlineProcessor
Return a `img` element from the given match.
markdown/inlinepatterns.py:852
↓ 1 callersClassImageReferenceInlineProcessor
Match to a stored reference and return `img` element.
markdown/inlinepatterns.py:940
↓ 1 callersClassInlineProcessor
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 callersClassInlineProcessor
A `Treeprocessor` that traverses a tree, applying inline patterns.
markdown/treeprocessors.py:75
↓ 1 callersClassLegacyAttrExtension
markdown/extensions/legacy_attrs.py:64
↓ 1 callersClassLegacyAttrs
markdown/extensions/legacy_attrs.py:45
↓ 1 callersClassLegacyEmExtension
Add legacy_em extension to Markdown class.
markdown/extensions/legacy_em.py:42
↓ 1 callersClassLegacyUnderscoreProcessor
Emphasis processor for handling strong and em matches inside underscores.
markdown/extensions/legacy_em.py:30
↓ 1 callersClassLinkInlineProcessor
Return a link element from the given match.
markdown/inlinepatterns.py:690
↓ 1 callersClassListIndentProcessor
Process children of list items. Example * a list item process this part or this part
markdown/blockprocessors.py:153
↓ 1 callersClassMarkdownInHTMLPostprocessor
markdown/extensions/md_in_html.py:414
↓ 1 callersClassMarkdownInHtmlExtension
Add Markdown parsing in HTML to Markdown class.
markdown/extensions/md_in_html.py:423
↓ 1 callersClassMarkdownInHtmlProcessor
Process Markdown Inside HTML Blocks which have been stored in the `HtmlStash`.
markdown/extensions/md_in_html.py:311
↓ 1 callersClassMetaExtension
Meta-Data extension for Python-Markdown.
markdown/extensions/meta.py:39
↓ 1 callersClassMetaPreprocessor
Get Meta-Data.
markdown/extensions/meta.py:59
↓ 1 callersClassNormalizeWhitespace
Normalize whitespace for consistent parsing.
markdown/preprocessors.py:66
↓ 1 callersClassOListProcessor
Process ordered list blocks.
markdown/blockprocessors.py:327
↓ 1 callersClassParagraphProcessor
Process Paragraph blocks.
markdown/blockprocessors.py:606
↓ 1 callersClassPrettifyTreeprocessor
Add line breaks to the html document.
markdown/treeprocessors.py:415
↓ 1 callersClassRawHtmlPostprocessor
Restore raw html to the document.
markdown/postprocessors.py:68
↓ 1 callersClassReferenceInlineProcessor
Match to a stored reference and return link element.
markdown/inlinepatterns.py:876
↓ 1 callersClassReferenceProcessor
Process link references.
markdown/blockprocessors.py:577
↓ 1 callersClassSaneListExtension
Add sane lists to Markdown.
markdown/extensions/sane_lists.py:59
↓ 1 callersClassSaneOListProcessor
Override `SIBLING_TAGS` to not include `ul` and set `LAZY_OL` to `False`.
markdown/extensions/sane_lists.py:33
↓ 1 callersClassSaneUListProcessor
Override `SIBLING_TAGS` to not include `ol`.
markdown/extensions/sane_lists.py:47
↓ 1 callersClassSetextHeaderProcessor
Process Setext-style Headers.
markdown/blockprocessors.py:493
↓ 1 callersClassShortImageReferenceInlineProcessor
Short form of image reference: `![ref]`.
markdown/inlinepatterns.py:952
↓ 1 callersClassShortReferenceInlineProcessor
Short form of reference: `[google]`.
markdown/inlinepatterns.py:932
↓ 1 callersClassSimpleTextInlineProcessor
Return a simple text of `group(1)` of a Pattern.
markdown/inlinepatterns.py:338
↓ 1 callersClassSmartyExtension
Add Smarty to Markdown.
markdown/extensions/smarty.py:181
↓ 1 callersClassState
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 callersClassTableProcessor
Process Tables.
markdown/extensions/tables.py:38
↓ 1 callersClassTestExtension
tests/test_extensions.py:36
↓ 1 callersClassUListProcessor
Process unordered list blocks.
markdown/blockprocessors.py:445
↓ 1 callersClassUnderscoreProcessor
Emphasis processor for handling strong and em matches inside underscores.
markdown/inlinepatterns.py:677
↓ 1 callersClassWikiLinksInlineProcessor
Build link from `wikilink`.
markdown/extensions/wikilinks.py:68
↓ 1 callersClass_AddCodeTagTreeprocessor
tests/test_syntax/extensions/test_code_hilite.py:782
↓ 1 callersClass_ExtensionThatAddsAnEmptyCodeTag
tests/test_syntax/extensions/test_code_hilite.py:777
↓ 1 callersClass_InlineProcessorThatReturnsAtomicString
Return a simple text of `group(1)` of a Pattern.
tests/test_apis.py:729
↓ 1 callersClass_PriorityItem
markdown/util.py:268
↓ 1 callersClassrecursionlimit
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 callersClassregisterFakeSerializer
tests/test_apis.py:637
ClassAbbrInlineProcessor
Abbreviation inline pattern.
markdown/extensions/abbr.py:184
ClassAncestorExample
Ancestor Test.
tests/test_apis.py:932
ClassAncestorExtension
tests/test_apis.py:943
ClassBlockProcessor
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
ClassCustomAddLangHtmlFormatter
tests/test_syntax/extensions/test_fenced_code.py:943
next →1–100 of 191, ranked by callers