MCPcopy Create free account

hub / github.com/Python-Markdown/markdown / functions

Functions1,385 in github.com/Python-Markdown/markdown

Functionget_name
Get title name.
markdown/extensions/toc.py:91
Methodget_stash
(m)
markdown/inlinepatterns.py:242
Methodget_stash
(m: re.Match[str])
markdown/inlinepatterns.py:537
MethodhandleMatch
Return a ElementTree element from the given match and the start and end index of the matched text. If `start` and/or `end` are return
markdown/inlinepatterns.py:280
MethodhandleMatch
Return string content of `group(2)` of a matching pattern.
markdown/inlinepatterns.py:304
MethodhandleMatch
Return string content of `group(1)` of a matching pattern.
markdown/inlinepatterns.py:311
MethodhandleMatch
If the character matched by `group(1)` of a pattern is in [`ESCAPED_CHARS`][markdown.Markdown.ESCAPED_CHARS] then return the integer
markdown/inlinepatterns.py:319
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] of type `tag` with the string in `group(3)` of a matching pattern as the Element's
markdown/inlinepatterns.py:354
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] of type `tag` with the string in `group(2)` of a matching pattern as the Element's
markdown/inlinepatterns.py:383
MethodhandleMatch
Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
markdown/inlinepatterns.py:395
MethodhandleMatch
Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
markdown/inlinepatterns.py:402
MethodhandleMatch
If the match contains `group(3)` of a pattern, then return a `code` [`Element`][xml.etree.ElementTree.Element] which contains HTML es
markdown/inlinepatterns.py:458
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] in following format: `<tag1><tag2>group(3)</tag2>group(4)</tag2>` where `group(4)`
markdown/inlinepatterns.py:486
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] in following format: `<tag1><tag2>group(2)</tag2>group(3)</tag2>` where `group(3)`
markdown/inlinepatterns.py:507
MethodhandleMatch
Store the text of `group(1)` of a pattern and return a placeholder string.
markdown/inlinepatterns.py:524
MethodhandleMatch
Parse delimiter pattern.
markdown/inlinepatterns.py:859
MethodhandleMatch
Return an `a` [`Element`][xml.etree.ElementTree.Element] or `(None, None, None)`.
markdown/inlinepatterns.py:1046
MethodhandleMatch
Return an `img` [`Element`][xml.etree.ElementTree.Element] or `(None, None, None)`.
markdown/inlinepatterns.py:1206
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] returned by `makeTag` method or `(None, None, None)`.
markdown/inlinepatterns.py:1233
MethodhandleMatch
Return an `a` [`Element`][xml.etree.ElementTree.Element] of `group(1)`.
markdown/inlinepatterns.py:1313
MethodhandleMatch
Return an [`Element`][xml.etree.ElementTree.Element] containing a `mailto` link of `group(1)`.
markdown/inlinepatterns.py:1325
MethodhandleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/abbr.py:192
MethodhandleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/smarty.py:171
MethodhandleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/wikilinks.py:75
MethodhandleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/footnotes.py:353
MethodhandleMatch
(self, m, data)
tests/test_apis.py:740
MethodhandleMatch
(self, m, data)
tests/test_apis.py:766
MethodhandleMatch
Handle match.
tests/test_apis.py:972
Methodhandle_charref
(self, name: str)
markdown/htmlparser.py:328
Methodhandle_decl
(self, data: str)
markdown/htmlparser.py:341
Methodhandle_endtag
(self, tag: str)
markdown/htmlparser.py:244
Methodhandle_entityref
(self, name: str)
markdown/htmlparser.py:331
Methodhandle_pi
(self, data: str)
markdown/htmlparser.py:344
Methodhandle_startendtag
(self, tag, attrs)
markdown/extensions/md_in_html.py:248
Methodhandle_starttag
(self, tag, attrs)
markdown/extensions/md_in_html.py:110
Methodline_offset
Returns char index in `self.rawdata` for the start of the current line.
markdown/htmlparser.py:182
MethodlinkText
(text: str | None)
markdown/treeprocessors.py:190
Functionload_tests
Ensure `TestHTMLBlocks` doesn't get run twice by excluding it here.
tests/test_syntax/extensions/test_md_in_html.py:1590
FunctionmakeExtension
(**kwargs)
markdown/extensions/attr_list.py:243
FunctionmakeExtension
(**kwargs)
markdown/extensions/fenced_code.py:207
FunctionmakeExtension
(**kwargs)
markdown/extensions/codehilite.py:355
FunctionmakeExtension
(**kwargs)
markdown/extensions/md_in_html.py:457
FunctionmakeExtension
(**kwargs)
markdown/extensions/def_list.py:127
FunctionmakeExtension
(**kwargs)
markdown/extensions/meta.py:92
FunctionmakeExtension
(**kwargs)
markdown/extensions/legacy_attrs.py:78
FunctionmakeExtension
(**kwargs)
markdown/extensions/sane_lists.py:76
FunctionmakeExtension
(**kwargs)
markdown/extensions/toc.py:518
FunctionmakeExtension
(**kwargs)
markdown/extensions/abbr.py:199
FunctionmakeExtension
(**kwargs)
markdown/extensions/tables.py:254
FunctionmakeExtension
(**kwargs)
markdown/extensions/admonition.py:191
FunctionmakeExtension
(**kwargs)
markdown/extensions/smarty.py:294
FunctionmakeExtension
(**kwargs)
markdown/extensions/nl2br.py:48
FunctionmakeExtension
(**kwargs)
markdown/extensions/wikilinks.py:104
FunctionmakeExtension
(**kwargs)
markdown/extensions/extra.py:65
FunctionmakeExtension
Return an instance of the `FootnoteExtension`
markdown/extensions/footnotes.py:502
FunctionmakeExtension
Return an instance of the `LegacyEmExtension`
markdown/extensions/legacy_em.py:38
MethodmakeTag
Return an `img` [`Element`][xml.etree.ElementTree.Element].
markdown/inlinepatterns.py:1293
FunctionmarkdownFromFile
Read Markdown text from a file or stream and write HTML output to a file or stream. This is a shortcut function which initializes an instanc
markdown/core.py:512
Functionmd_render
Render Markdown in code block and rendered output in result code block.
tools/superfences_formaters.py:67
Methodmy_url_builder
(label, base, end)
tests/test_extensions.py:246
Functionnearing_recursion_limit
Return true if current stack depth is within 100 of maximum limit.
markdown/util.py:177
Methodorder_by_id
(li)
markdown/extensions/footnotes.py:472
Methodparse_comment
(self, i, report=True)
markdown/htmlparser.py:361
Methodparse_endtag
(self, i)
markdown/htmlparser.py:107
Methodparse_html_declaration
(self, i: int)
markdown/htmlparser.py:380
Methodparse_html_declaration
(self, i: int)
markdown/extensions/md_in_html.py:291
Methodparse_pi
(self, i: int)
markdown/htmlparser.py:351
Methodparse_pi
(self, i: int)
markdown/extensions/md_in_html.py:281
Methodparse_starttag
(self, i: int)
markdown/htmlparser.py:117
Methodparse_starttag
(self, i: int)
markdown/htmlparser.py:415
Functionpy_render
Render Python in a code block and output of the code in a result code block.
tools/superfences_formaters.py:147
Methodreset
Reset this instance. Loses all unprocessed data.
markdown/htmlparser.py:152
Methodreset
Clear the stash.
markdown/util.py:244
Methodreset
Step back one step in nested state.
markdown/blockparser.py:63
Methodreset
Reset this instance. Loses all unprocessed data.
markdown/extensions/md_in_html.py:67
Methodreset
(self)
markdown/extensions/meta.py:55
Methodreset
Clear all previously defined abbreviations.
markdown/extensions/abbr.py:56
Methodreset_glossary
Clear all abbreviations from the glossary.
markdown/extensions/abbr.py:62
Methodrun
(self, lines: list[str])
markdown/preprocessors.py:69
Methodrun
(self, lines: list[str])
markdown/preprocessors.py:86
Methodrun
Run processor. Must be overridden by subclasses. When the parser determines the appropriate type of a block, the parser will call th
markdown/blockprocessors.py:126
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:181
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:257
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:292
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:359
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:466
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:502
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:533
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:556
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:587
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:622
Methodrun
Subclasses of `Postprocessor` should implement a `run` method, which takes the html document as a single text string and returns a
markdown/postprocessors.py:58
Methodrun
Iterate over html stash and restore html.
markdown/postprocessors.py:73
Methodrun
(self, text: str)
markdown/postprocessors.py:113
Methodrun
(self, text: str)
markdown/postprocessors.py:130
Methodrun
Subclasses of `Treeprocessor` should implement a `run` method, which takes a root `Element`. This method can return another `Element`
markdown/treeprocessors.py:65
Methodrun
Apply inline patterns to a parsed Markdown tree. Iterate over `Element`, find elements with inline tag, apply inline patterns and app
markdown/treeprocessors.py:348
Methodrun
Loop over all elements and unescape all text.
markdown/treeprocessors.py:472
Methodrun
(self, doc: Element)
markdown/extensions/attr_list.py:122
Methodrun
Match and store Fenced Code Blocks in the `HtmlStash`.
markdown/extensions/fenced_code.py:91
← previousnext →301–400 of 1,385, ranked by callers