MCPcopy Create free account

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

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

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:343
MethodhandleMatch
(self, m, data)
tests/test_apis.py:731
MethodhandleMatch
Handle match.
tests/test_apis.py:937
Methodhandle_charref
(self, name: str)
markdown/htmlparser.py:291
Methodhandle_decl
(self, data: str)
markdown/htmlparser.py:301
Methodhandle_endtag
(self, tag: str)
markdown/htmlparser.py:230
Methodhandle_entityref
(self, name: str)
markdown/htmlparser.py:294
Methodhandle_pi
(self, data: str)
markdown/htmlparser.py:304
Methodhandle_startendtag
(self, tag, attrs)
markdown/extensions/md_in_html.py:238
Methodhandle_starttag
(self, tag, attrs)
markdown/extensions/md_in_html.py:102
Methodline_offset
Returns char index in `self.rawdata` for the start of the current line.
markdown/htmlparser.py:169
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:1560
FunctionmakeExtension
(**kwargs)
markdown/extensions/attr_list.py:212
FunctionmakeExtension
(**kwargs)
markdown/extensions/fenced_code.py:200
FunctionmakeExtension
(**kwargs)
markdown/extensions/codehilite.py:354
FunctionmakeExtension
(**kwargs)
markdown/extensions/md_in_html.py:447
FunctionmakeExtension
(**kwargs)
markdown/extensions/def_list.py:127
FunctionmakeExtension
(**kwargs)
markdown/extensions/meta.py:92
FunctionmakeExtension
(**kwargs)
markdown/extensions/legacy_attrs.py:77
FunctionmakeExtension
(**kwargs)
markdown/extensions/sane_lists.py:76
FunctionmakeExtension
(**kwargs)
markdown/extensions/toc.py:495
FunctionmakeExtension
(**kwargs)
markdown/extensions/abbr.py:198
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:492
FunctionmakeExtension
Return an instance of the `LegacyEmExtension`
markdown/extensions/legacy_em.py:57
MethodmakeTag
Return an `img` [`Element`][xml.etree.ElementTree.Element].
markdown/inlinepatterns.py:942
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:505
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:180
Methodon_class_instance
Add section to docstrings of deprecated classes.
scripts/griffe_extensions.py:31
Methodon_function_instance
Add section to docstrings of deprecated functions.
scripts/griffe_extensions.py:37
Methodon_function_instance
Add table to specified function docstrings.
scripts/griffe_extensions.py:55
Methodorder_by_id
(li)
markdown/extensions/footnotes.py:462
Methodparse_comment
(self, i, report=True)
markdown/htmlparser.py:321
Methodparse_endtag
(self, i)
markdown/htmlparser.py:99
Methodparse_html_declaration
(self, i: int)
markdown/htmlparser.py:333
Methodparse_html_declaration
(self, i: int)
markdown/extensions/md_in_html.py:281
Methodparse_pi
(self, i: int)
markdown/htmlparser.py:311
Methodparse_pi
(self, i: int)
markdown/extensions/md_in_html.py:271
Methodparse_starttag
(self, i: int)
markdown/htmlparser.py:107
Methodparse_starttag
(self, i: int)
markdown/htmlparser.py:368
Methodreset
Reset this instance. Loses all unprocessed data.
markdown/htmlparser.py:142
Methodreset
Clear the stash.
markdown/util.py:247
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:59
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:586
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/blockprocessors.py:612
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:343
Methodrun
Loop over all elements and unescape all text.
markdown/treeprocessors.py:465
Methodrun
(self, doc: Element)
markdown/extensions/attr_list.py:103
Methodrun
Match and store Fenced Code Blocks in the `HtmlStash`.
markdown/extensions/fenced_code.py:91
Methodrun
Find code blocks and store in `htmlStash`.
markdown/extensions/codehilite.py:267
Methodrun
(self, lines: list[str])
markdown/extensions/md_in_html.py:303
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/extensions/md_in_html.py:391
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/extensions/def_list.py:39
Methodrun
Parse Meta-Data and store in Markdown.Meta.
markdown/extensions/meta.py:62
Methodrun
Find and set values of attributes ({@key=value}).
markdown/extensions/legacy_attrs.py:46
Methodrun
Step through tree to find known abbreviations.
markdown/extensions/abbr.py:127
Methodrun
Find and remove all abbreviation references from the text. Each reference is added to the abbreviation collection.
markdown/extensions/abbr.py:152
Methodrun
Parse a table block and build table.
markdown/extensions/tables.py:87
Methodrun
(self, parent: etree.Element, blocks: list[str])
markdown/extensions/admonition.py:138
Methodrun
Find, set, and remove footnote definitions.
markdown/extensions/footnotes.py:258
Methodrun
Crawl the footnote div and add missing duplicate footnotes.
markdown/extensions/footnotes.py:407
Methodrun
(self, root: etree.Element)
markdown/extensions/footnotes.py:425
Methodrun
(self, root: etree.Element)
markdown/extensions/footnotes.py:448
Methodrun
(self, text: str)
markdown/extensions/footnotes.py:485
MethodsetUp
(self)
tests/test_extensions.py:35
MethodsetUp
(self)
tests/test_extensions.py:80
MethodsetUp
(self)
tests/test_extensions.py:161
MethodsetUp
(self)
tests/test_extensions.py:259
MethodsetUp
(self)
tests/test_extensions.py:274
MethodsetUp
Create instance of Markdown.
tests/test_apis.py:45
MethodsetUp
(self)
tests/test_apis.py:82
MethodsetUp
Create instance of BlockParser.
tests/test_apis.py:121
← previousnext →301–400 of 1,263, ranked by callers