MCPcopy Create free account

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

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

MethodgetCompiledRegExp
(self)
tests/test_apis.py:787
Functionget_attrs
Soft-deprecated. Prefer `get_attrs_and_remainder`.
markdown/extensions/attr_list.py:90
Functionget_installed_extensions
Return all entry_points in the `markdown.extensions` group.
markdown/util.py:104
Functionget_name
Get title name.
markdown/extensions/toc.py:91
Methodget_stash
(m)
markdown/inlinepatterns.py:243
Methodget_stash
(m: re.Match[str])
markdown/inlinepatterns.py:538
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:281
MethodhandleMatch
Return string content of `group(2)` of a matching pattern.
markdown/inlinepatterns.py:305
MethodhandleMatch
Return string content of `group(1)` of a matching pattern.
markdown/inlinepatterns.py:312
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:320
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:355
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:384
MethodhandleMatch
Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
markdown/inlinepatterns.py:396
MethodhandleMatch
Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
markdown/inlinepatterns.py:403
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:459
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] in following format: `<tag1><tag2>group(3)</tag2>group(4)</tag2>` where `group(4)`
markdown/inlinepatterns.py:487
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] in following format: `<tag1><tag2>group(2)</tag2>group(3)</tag2>` where `group(3)`
markdown/inlinepatterns.py:508
MethodhandleMatch
Store the text of `group(1)` of a pattern and return a placeholder string.
markdown/inlinepatterns.py:525
MethodhandleMatch
Parse delimiter pattern.
markdown/inlinepatterns.py:898
MethodhandleMatch
Return an `a` [`Element`][xml.etree.ElementTree.Element] or `(None, None, None)`.
markdown/inlinepatterns.py:1139
MethodhandleMatch
Return an `img` [`Element`][xml.etree.ElementTree.Element] or `(None, None, None)`.
markdown/inlinepatterns.py:1318
MethodhandleMatch
Return [`Element`][xml.etree.ElementTree.Element] returned by `makeTag` method or `(None, None, None)`.
markdown/inlinepatterns.py:1345
MethodhandleMatch
Return an `a` [`Element`][xml.etree.ElementTree.Element] of `group(1)`.
markdown/inlinepatterns.py:1425
MethodhandleMatch
Return an [`Element`][xml.etree.ElementTree.Element] containing a `mailto` link of `group(1)`.
markdown/inlinepatterns.py:1437
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:360
MethodhandleMatch
(self, m, data)
tests/test_apis.py:764
MethodhandleMatch
(self, m, data)
tests/test_apis.py:790
MethodhandleMatch
Handle match.
tests/test_apis.py:996
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:211
FunctionmakeExtension
(**kwargs)
markdown/extensions/codehilite.py:355
FunctionmakeExtension
(**kwargs)
markdown/extensions/md_in_html.py:457
FunctionmakeExtension
(**kwargs)
markdown/extensions/def_list.py:131
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:524
FunctionmakeExtension
(**kwargs)
markdown/extensions/abbr.py:199
FunctionmakeExtension
(**kwargs)
markdown/extensions/tables.py:257
FunctionmakeExtension
(**kwargs)
markdown/extensions/admonition.py:194
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:509
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:1405
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:521
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:479
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:185
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:261
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:296
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:365
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:477
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:513
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:544
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:567
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:598
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:633
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
← previousnext →301–400 of 1,421, ranked by callers