Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Python-Markdown/markdown
/ functions
Functions
1,385 in github.com/Python-Markdown/markdown
⨍
Functions
1,385
◇
Types & classes
197
↳
Endpoints
1
Function
get_name
Get title name.
markdown/extensions/toc.py:91
Method
get_stash
(m)
markdown/inlinepatterns.py:242
Method
get_stash
(m: re.Match[str])
markdown/inlinepatterns.py:537
Method
handleMatch
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
Method
handleMatch
Return string content of `group(2)` of a matching pattern.
markdown/inlinepatterns.py:304
Method
handleMatch
Return string content of `group(1)` of a matching pattern.
markdown/inlinepatterns.py:311
Method
handleMatch
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
Method
handleMatch
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
Method
handleMatch
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
Method
handleMatch
Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
markdown/inlinepatterns.py:395
Method
handleMatch
Return empty [`Element`][xml.etree.ElementTree.Element] of type `tag`.
markdown/inlinepatterns.py:402
Method
handleMatch
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
Method
handleMatch
Return [`Element`][xml.etree.ElementTree.Element] in following format: `<tag1><tag2>group(3)</tag2>group(4)</tag2>` where `group(4)`
markdown/inlinepatterns.py:486
Method
handleMatch
Return [`Element`][xml.etree.ElementTree.Element] in following format: `<tag1><tag2>group(2)</tag2>group(3)</tag2>` where `group(3)`
markdown/inlinepatterns.py:507
Method
handleMatch
Store the text of `group(1)` of a pattern and return a placeholder string.
markdown/inlinepatterns.py:524
Method
handleMatch
Parse delimiter pattern.
markdown/inlinepatterns.py:859
Method
handleMatch
Return an `a` [`Element`][xml.etree.ElementTree.Element] or `(None, None, None)`.
markdown/inlinepatterns.py:1046
Method
handleMatch
Return an `img` [`Element`][xml.etree.ElementTree.Element] or `(None, None, None)`.
markdown/inlinepatterns.py:1206
Method
handleMatch
Return [`Element`][xml.etree.ElementTree.Element] returned by `makeTag` method or `(None, None, None)`.
markdown/inlinepatterns.py:1233
Method
handleMatch
Return an `a` [`Element`][xml.etree.ElementTree.Element] of `group(1)`.
markdown/inlinepatterns.py:1313
Method
handleMatch
Return an [`Element`][xml.etree.ElementTree.Element] containing a `mailto` link of `group(1)`.
markdown/inlinepatterns.py:1325
Method
handleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/abbr.py:192
Method
handleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/smarty.py:171
Method
handleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/wikilinks.py:75
Method
handleMatch
(self, m: re.Match[str], data: str)
markdown/extensions/footnotes.py:353
Method
handleMatch
(self, m, data)
tests/test_apis.py:740
Method
handleMatch
(self, m, data)
tests/test_apis.py:766
Method
handleMatch
Handle match.
tests/test_apis.py:972
Method
handle_charref
(self, name: str)
markdown/htmlparser.py:328
Method
handle_decl
(self, data: str)
markdown/htmlparser.py:341
Method
handle_endtag
(self, tag: str)
markdown/htmlparser.py:244
Method
handle_entityref
(self, name: str)
markdown/htmlparser.py:331
Method
handle_pi
(self, data: str)
markdown/htmlparser.py:344
Method
handle_startendtag
(self, tag, attrs)
markdown/extensions/md_in_html.py:248
Method
handle_starttag
(self, tag, attrs)
markdown/extensions/md_in_html.py:110
Method
line_offset
Returns char index in `self.rawdata` for the start of the current line.
markdown/htmlparser.py:182
Method
linkText
(text: str | None)
markdown/treeprocessors.py:190
Function
load_tests
Ensure `TestHTMLBlocks` doesn't get run twice by excluding it here.
tests/test_syntax/extensions/test_md_in_html.py:1590
Function
makeExtension
(**kwargs)
markdown/extensions/attr_list.py:243
Function
makeExtension
(**kwargs)
markdown/extensions/fenced_code.py:207
Function
makeExtension
(**kwargs)
markdown/extensions/codehilite.py:355
Function
makeExtension
(**kwargs)
markdown/extensions/md_in_html.py:457
Function
makeExtension
(**kwargs)
markdown/extensions/def_list.py:127
Function
makeExtension
(**kwargs)
markdown/extensions/meta.py:92
Function
makeExtension
(**kwargs)
markdown/extensions/legacy_attrs.py:78
Function
makeExtension
(**kwargs)
markdown/extensions/sane_lists.py:76
Function
makeExtension
(**kwargs)
markdown/extensions/toc.py:518
Function
makeExtension
(**kwargs)
markdown/extensions/abbr.py:199
Function
makeExtension
(**kwargs)
markdown/extensions/tables.py:254
Function
makeExtension
(**kwargs)
markdown/extensions/admonition.py:191
Function
makeExtension
(**kwargs)
markdown/extensions/smarty.py:294
Function
makeExtension
(**kwargs)
markdown/extensions/nl2br.py:48
Function
makeExtension
(**kwargs)
markdown/extensions/wikilinks.py:104
Function
makeExtension
(**kwargs)
markdown/extensions/extra.py:65
Function
makeExtension
Return an instance of the `FootnoteExtension`
markdown/extensions/footnotes.py:502
Function
makeExtension
Return an instance of the `LegacyEmExtension`
markdown/extensions/legacy_em.py:38
Method
makeTag
Return an `img` [`Element`][xml.etree.ElementTree.Element].
markdown/inlinepatterns.py:1293
Function
markdownFromFile
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
Function
md_render
Render Markdown in code block and rendered output in result code block.
tools/superfences_formaters.py:67
Method
my_url_builder
(label, base, end)
tests/test_extensions.py:246
Function
nearing_recursion_limit
Return true if current stack depth is within 100 of maximum limit.
markdown/util.py:177
Method
order_by_id
(li)
markdown/extensions/footnotes.py:472
Method
parse_comment
(self, i, report=True)
markdown/htmlparser.py:361
Method
parse_endtag
(self, i)
markdown/htmlparser.py:107
Method
parse_html_declaration
(self, i: int)
markdown/htmlparser.py:380
Method
parse_html_declaration
(self, i: int)
markdown/extensions/md_in_html.py:291
Method
parse_pi
(self, i: int)
markdown/htmlparser.py:351
Method
parse_pi
(self, i: int)
markdown/extensions/md_in_html.py:281
Method
parse_starttag
(self, i: int)
markdown/htmlparser.py:117
Method
parse_starttag
(self, i: int)
markdown/htmlparser.py:415
Function
py_render
Render Python in a code block and output of the code in a result code block.
tools/superfences_formaters.py:147
Method
reset
Reset this instance. Loses all unprocessed data.
markdown/htmlparser.py:152
Method
reset
Clear the stash.
markdown/util.py:244
Method
reset
Step back one step in nested state.
markdown/blockparser.py:63
Method
reset
Reset this instance. Loses all unprocessed data.
markdown/extensions/md_in_html.py:67
Method
reset
(self)
markdown/extensions/meta.py:55
Method
reset
Clear all previously defined abbreviations.
markdown/extensions/abbr.py:56
Method
reset_glossary
Clear all abbreviations from the glossary.
markdown/extensions/abbr.py:62
Method
run
(self, lines: list[str])
markdown/preprocessors.py:69
Method
run
(self, lines: list[str])
markdown/preprocessors.py:86
Method
run
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
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:181
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:257
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:292
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:359
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:466
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:502
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:533
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:556
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:587
Method
run
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:622
Method
run
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
Method
run
Iterate over html stash and restore html.
markdown/postprocessors.py:73
Method
run
(self, text: str)
markdown/postprocessors.py:113
Method
run
(self, text: str)
markdown/postprocessors.py:130
Method
run
Subclasses of `Treeprocessor` should implement a `run` method, which takes a root `Element`. This method can return another `Element`
markdown/treeprocessors.py:65
Method
run
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
Method
run
Loop over all elements and unescape all text.
markdown/treeprocessors.py:472
Method
run
(self, doc: Element)
markdown/extensions/attr_list.py:122
Method
run
Match and store Fenced Code Blocks in the `HtmlStash`.
markdown/extensions/fenced_code.py:91
← previous
next →
301–400 of 1,385, ranked by callers