Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/executablebooks/markdown-it-py
/ functions
Functions
361 in github.com/executablebooks/markdown-it-py
⨍
Functions
361
◇
Types & classes
31
↳
Endpoints
15
↓ 1 callers
Function
markTightParagraphs
(state: StateBlock, idx: int)
markdown_it/rules_block/list.py:88
↓ 1 callers
Function
parse_args
Parse input CLI arguments.
markdown_it/cli/parse.py:82
↓ 1 callers
Function
print_heading
()
markdown_it/cli/parse.py:120
↓ 1 callers
Function
process_inlines
(tokens: list[Token], state: StateCore)
markdown_it/rules_core/smartquotes.py:24
↓ 1 callers
Method
renderInline
The same as ``render``, but for single token of `inline` type. :param tokens: list on block tokens to render :param options: params o
markdown_it/renderer.py:90
↓ 1 callers
Method
renderInlineAsText
Special kludge for image `alt` attributes to conform CommonMark spec. Don't try to use it! Spec requires to show `alt` content with stripped
markdown_it/renderer.py:182
↓ 1 callers
Function
replaceEntityPattern
Convert HTML entity patterns, see https://spec.commonmark.org/0.30/#entity-references
markdown_it/common/utils.py:98
↓ 1 callers
Function
replace_rare
(inlineTokens: list[Token])
markdown_it/rules_core/replacements.py:77
↓ 1 callers
Function
replace_scoped
(inlineTokens: list[Token])
markdown_it/rules_core/replacements.py:63
↓ 1 callers
Method
reset_rules
A context manager, that will reset the current enabled rules on exit.
markdown_it/main.py:216
↓ 1 callers
Method
set
Set parser options (in the same format as in constructor). Probably, you will never need it, but you can change options after constructor call
markdown_it/main.py:94
↓ 1 callers
Method
skipCharsStrBack
Skip character string reverse from given position - 1.
markdown_it/rules_block/state_block.py:204
↓ 1 callers
Method
skipEmptyLines
.
markdown_it/rules_block/state_block.py:135
↓ 1 callers
Method
skipSpacesBack
Skip spaces from given position in reverse.
markdown_it/rules_block/state_block.py:160
↓ 1 callers
Method
skipToken
Skip single token by running all rules in validation mode; returns `True` if any rule reported success
markdown_it/parser_inline.py:132
↓ 1 callers
Method
to_tokens
Recover the linear token stream.
markdown_it/tree.py:90
↓ 1 callers
Method
tokenize
Generate tokens for input range.
markdown_it/parser_inline.py:174
↓ 1 callers
Method
walk
Recursively yield all descendant nodes in the tree starting at self. The order mimics the order of the underlying linear token stream
markdown_it/tree.py:244
Function
TestOneInput
(data)
tests/fuzz/fuzz_markdown_extended.py:12
Function
TestOneInput
(data)
tests/fuzz/fuzz_markdown.py:8
Method
__delitem__
(self, key: str)
markdown_it/utils.py:78
Method
__getitem__
(self, key: str)
markdown_it/utils.py:72
Method
__getitem__
(self: _NodeType, item: int)
markdown_it/tree.py:82
Method
__getitem__
(self, name: Literal["inline"])
markdown_it/main.py:72
Method
__init__
(self, parser: Any = None)
markdown_it/renderer.py:60
Method
__init__
(self, options: OptionsType)
markdown_it/utils.py:69
Method
__init__
(self)
markdown_it/parser_block.py:55
Method
__init__
Initialize a `SyntaxTreeNode` from a token stream. If `create_root` is True, create a root node for the document.
markdown_it/tree.py:36
Method
__init__
(self)
markdown_it/parser_inline.py:99
Method
__init__
(self, src: str, md: MarkdownIt, env: EnvType)
markdown_it/ruler.py:33
Method
__init__
(self)
markdown_it/ruler.py:76
Method
__init__
(self)
markdown_it/parser_core.py:38
Method
__init__
Main parser class :param config: name of configuration to load or a pre-defined dictionary :param options_update: dictionary that wil
markdown_it/main.py:34
Method
__init__
( self, src: str, md: MarkdownIt, env: EnvType, tokens: list[Token] |
markdown_it/rules_core/state_core.py:14
Method
__init__
( self, src: str, md: MarkdownIt, env: EnvType, outTokens: list[Token] )
markdown_it/rules_inline/state_inline.py:45
Method
__init__
(self)
markdown_it/helpers/parse_link_destination.py:11
Method
__init__
(self)
markdown_it/helpers/parse_link_title.py:9
Method
__init__
( self, src: str, md: MarkdownIt, env: EnvType, tokens: list[Token] )
markdown_it/rules_block/state_block.py:15
Method
__iter__
(self)
markdown_it/utils.py:81
Method
__len__
(self)
markdown_it/utils.py:84
Method
__post_init__
(self)
markdown_it/token.py:77
Method
__repr__
(self)
markdown_it/utils.py:87
Method
__repr__
(self)
markdown_it/tree.py:78
Method
__repr__
(self)
markdown_it/main.py:68
Method
__repr__
(self)
markdown_it/rules_inline/state_inline.py:78
Method
__repr__
(self)
markdown_it/rules_block/state_block.py:113
Method
__setitem__
(self, key: str, value: Any)
markdown_it/utils.py:75
Method
__str__
(self)
markdown_it/utils.py:90
Method
__str__
(self)
markdown_it/helpers/parse_link_title.py:21
Function
_fence_rule
( state: StateBlock, startLine: int, endLine: int, silent: bool )
markdown_it/rules_block/fence.py:45
Function
_plugin
(_md: MarkdownIt)
tests/test_api/test_plugin_creation.py:14
Method
add_render_rule
Add a rule for rendering a particular Token type. Only applied when ``renderer.__output__ == fmt``
markdown_it/main.py:225
Method
attrGet
Get the value of attribute `name`, or null if it does not exist.
markdown_it/tree.py:285
Method
attrs
Html attributes.
markdown_it/tree.py:281
Function
autolink
(state: StateInline, silent: bool)
markdown_it/rules_inline/autolink.py:12
Function
backtick
(state: StateInline, silent: bool)
markdown_it/rules_inline/backticks.py:9
Function
block
(state: StateCore)
markdown_it/rules_core/block.py:5
Method
block
True for block-level tokens, false for inline tokens.
markdown_it/tree.py:325
Function
block_rule
(state, startLine, endLine, silent)
tests/test_api/test_plugin_creation.py:37
Function
blockquote
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/blockquote.py:12
Method
breaks
Convert newlines in paragraphs into <br>.
markdown_it/utils.py:148
Method
children
(self: _NodeType)
markdown_it/tree.py:111
Function
code
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/code.py:10
Method
code_block
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env:
markdown_it/renderer.py:244
Method
code_inline
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType )
markdown_it/renderer.py:232
Method
content
In a case of self-closing tag (code, html, fence, etc.), it has contents of this tag.
markdown_it/tree.py:304
Function
core_rule
(state)
tests/test_api/test_plugin_creation.py:66
Function
entity
(state: StateInline, silent: bool)
markdown_it/rules_inline/entity.py:12
Function
escape
Process escaped chars and hardbreaks.
markdown_it/rules_inline/escape.py:9
Function
escapeRE
(string: str)
markdown_it/common/utils.py:154
Method
fence
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env:
markdown_it/renderer.py:261
Function
fragments_join
Clean up tokens after emphasis and strikethrough postprocessing: merge adjacent text nodes into one and re-calculate all token levels Th
markdown_it/rules_inline/fragments_join.py:4
Method
get_all_rules
Return all available rule names.
markdown_it/ruler.py:269
Method
hardbreak
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType )
markdown_it/renderer.py:331
Function
heading
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/heading.py:13
Method
hidden
If it's true, ignore this element when rendering. Used for tight lists to hide paragraphs.
markdown_it/tree.py:330
Function
highlight_func
(str_, lang, attrs)
tests/test_port/test_misc.py:5
Function
hr
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/hr.py:14
Method
html
Enable HTML tags in source.
markdown_it/utils.py:103
Function
html_block
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/html_block.py:34
Method
html_block
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType )
markdown_it/renderer.py:348
Function
html_inline
(state: StateInline, silent: bool)
markdown_it/rules_inline/html_inline.py:13
Method
html_inline
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType )
markdown_it/renderer.py:353
Function
image
(state: StateInline, silent: bool)
markdown_it/rules_inline/image.py:9
Method
image
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env:
markdown_it/renderer.py:313
Function
inline
Parse inlines
markdown_it/rules_core/inline.py:4
Function
inline_rule
(state, silent)
tests/test_api/test_plugin_creation.py:8
Method
is_nested
Is this node nested?. Returns `True` if the node represents a `Token` pair and tokens in the sequence between them, where `Token.nest
markdown_it/tree.py:132
Method
is_root
Is the node a special root node?
markdown_it/tree.py:127
Method
langPrefix
CSS language prefix for fenced blocks.
markdown_it/utils.py:157
Method
level
nesting level, the same as `state.level`
markdown_it/tree.py:299
Function
lheading
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/lheading.py:9
Function
link
(state: StateInline, silent: bool)
markdown_it/rules_inline/link.py:7
Function
link_pairs
(state: StateInline)
markdown_it/rules_inline/balance_pairs.py:127
Function
linkify
Rule for identifying plain-text links.
markdown_it/rules_core/linkify.py:15
Function
linkify
Rule for identifying plain-text links.
markdown_it/rules_inline/linkify.py:11
Method
linkify
Enable autoconversion of URL-like texts to links.
markdown_it/utils.py:112
Function
list_block
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/list.py:101
Method
list_item_open
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env:
markdown_it/renderer.py:212
Function
make
()
markdown_it/presets/commonmark.py:13
← previous
next →
101–200 of 361, ranked by callers