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
Function
make
()
markdown_it/presets/default.py:6
Function
make
()
markdown_it/presets/zero.py:9
Method
make
()
markdown_it/presets/__init__.py:42
Method
map
Source map info. Format: `tuple[ line_begin, line_end ]`
markdown_it/tree.py:290
Function
mapping
(obj: str)
markdown_it/_punycode.py:53
Method
markup
*' or '_' for emphasis, fence string for fence, etc.
markdown_it/tree.py:310
Method
maxNesting
Internal protection, recursion limit.
markdown_it/utils.py:94
Method
meta
A place for plugins to store an arbitrary data.
markdown_it/tree.py:320
Function
mock_input
(prompt)
tests/test_cli.py:39
Function
newline
(state: StateInline, silent: bool)
markdown_it/rules_inline/newline.py:7
Method
next_sibling
Get the next node in the sequence of siblings. Returns `None` if this is the last sibling.
markdown_it/tree.py:168
Function
normalize
(state: StateCore)
markdown_it/rules_core/normalize.py:12
Function
normalizeLink
Normalize destination URLs in links :: [label]: destination 'title' ^^^^^^^^^^^
markdown_it/common/normalize_url.py:15
Function
normalizeLinkText
Normalize autolink content :: <destination> ~~~~~~~~~~~
markdown_it/common/normalize_url.py:40
Function
paragraph
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/paragraph.py:10
Method
parent
(self: _NodeType)
markdown_it/tree.py:119
Method
parse
Process input string and push block tokens into `outTokens`.
markdown_it/parser_block.py:105
Method
parse
Process input string and push inline tokens into `tokens`
markdown_it/parser_inline.py:206
Function
parseLinkDestination
(string: str, pos: int, maximum: int)
markdown_it/helpers/parse_link_destination.py:17
Function
parseLinkLabel
(state: StateInline, start: int, disableNested: bool = False)
markdown_it/helpers/parse_link_label.py:12
Function
parseLinkTitle
Parse link title within `str` in [start, max] range, or continue previous parsing if `prev_state` is defined (equal to result of last execution).
markdown_it/helpers/parse_link_title.py:25
Function
parser
()
benchmarking/bench_core.py:14
Function
postProcess
Walk through delimiter list and replace text tokens with tags.
markdown_it/rules_inline/emphasis.py:96
Function
postProcess
Walk through delimiter list and replace text tokens with tags.
markdown_it/rules_inline/strikethrough.py:158
Method
previous_sibling
Get the previous node in the sequence of siblings. Returns `None` if this is the first sibling.
markdown_it/tree.py:179
Function
pytest_benchmark_update_machine_info
(config, machine_info)
benchmarking/conftest.py:1
Method
quotes
Quote characters.
markdown_it/utils.py:130
Function
read_fixture_file
(path: str | Path)
markdown_it/utils.py:175
Method
recursive_collect_tokens
(node: _NodeType, token_list: list[Token])
markdown_it/tree.py:93
Function
reference
(state: StateBlock, startLine: int, _endLine: int, silent: bool)
markdown_it/rules_block/reference.py:9
Method
render
( self, tokens: Sequence[Token], options: OptionsDict, env: EnvType )
markdown_it/renderer.py:23
Method
render
Takes token stream and generates HTML. :param tokens: list on block tokens to render :param options: params of parser instance
markdown_it/renderer.py:67
Function
replace
(state: StateCore)
markdown_it/rules_core/replacements.py:113
Function
replaceFn
(match: re.Match[str])
markdown_it/rules_core/replacements.py:59
Function
replacer_func
(match: Match[str])
markdown_it/common/utils.py:118
Function
run_apidoc
generate apidoc See: https://github.com/rtfd/readthedocs.org/issues/1139
docs/conf.py:94
Function
setup
Add functions to the Sphinx setup.
docs/conf.py:139
Method
siblings
Get siblings of the node. Gets the whole group of siblings, including self.
markdown_it/tree.py:142
Method
skipChars
Skip character code from given position.
markdown_it/rules_block/state_block.py:170
Method
skipCharsBack
Skip character code reverse from given position - 1.
markdown_it/rules_block/state_block.py:194
Function
smartquotes
(state: StateCore)
markdown_it/rules_core/smartquotes.py:194
Method
softbreak
( self, tokens: Sequence[Token], idx: int, options: OptionsDict, env: EnvType )
markdown_it/renderer.py:336
Function
spec_text
()
benchmarking/bench_packages.py:8
Function
spec_text
()
benchmarking/bench_core.py:9
Method
src
(self)
markdown_it/ruler.py:39
Method
srcCharCode
(self)
markdown_it/ruler.py:48
Function
stripEscape
Strip escape \\ characters
markdown_it/common/utils.py:134
Function
table
(state: StateBlock, startLine: int, endLine: int, silent: bool)
markdown_it/rules_block/table.py:59
Method
tag
html tag name, e.g. \"p\
markdown_it/tree.py:276
Function
test_add_terminator_char
Test that add_terminator_char stops the text rule on a new character.
tests/test_api/test_plugin_creation.py:94
Function
test_add_terminator_char_idempotent
add_terminator_char with an already-present char should not rebuild the regex.
tests/test_api/test_plugin_creation.py:117
Function
test_add_terminator_char_rebuilds
add_terminator_char with a new char should rebuild the regex.
tests/test_api/test_plugin_creation.py:127
Function
test_alerts
(line, title, input, expected)
tests/test_port/test_fixtures.py:142
Method
test_basic
(self)
tests/test_api/test_make_fence_rule.py:29
Function
test_block_after
(capsys)
tests/test_api/test_plugin_creation.py:42
Function
test_block_at
(capsys)
tests/test_api/test_plugin_creation.py:58
Function
test_block_before
(capsys)
tests/test_api/test_plugin_creation.py:50
Method
test_colon_in_info_allowed
Colons in info string should be allowed (unlike backticks in backtick fences).
tests/test_api/test_make_fence_rule.py:44
Function
test_commonmark_extras
(line, title, input, expected)
tests/test_port/test_fixtures.py:66
Function
test_commonmark_py
(benchmark, spec_text)
benchmarking/bench_packages.py:39
Function
test_core_after
(capsys)
tests/test_api/test_plugin_creation.py:70
Function
test_core_at
(capsys)
tests/test_api/test_plugin_creation.py:86
Function
test_core_before
(capsys)
tests/test_api/test_plugin_creation.py:78
Method
test_default_backtick_disallowed
By default, backtick in backtick-fence info string is rejected.
tests/test_api/test_make_fence_rule.py:226
Function
test_disable
()
tests/test_api/test_main.py:135
Function
test_disable_code_block
(line, title, input, expected)
tests/test_port/test_fixtures.py:121
Method
test_disallow_all
Can disallow marker in info for all marker types.
tests/test_api/test_make_fence_rule.py:240
Method
test_disallow_none
Can allow marker in info for all marker types.
tests/test_api/test_make_fence_rule.py:251
Method
test_does_not_interfere_with_backtick
Standard backtick fences still work alongside colon fences.
tests/test_api/test_make_fence_rule.py:70
Function
test_emptyStr
()
tests/test_api/test_main.py:259
Function
test_empty_env
Test that an empty `env` is mutated, not copied and mutated.
tests/test_api/test_main.py:281
Function
test_enable
()
tests/test_api/test_main.py:118
Method
test_exact_match_longer_no_close
Closing fence with more markers does NOT close (exact match required).
tests/test_api/test_make_fence_rule.py:114
Method
test_exact_match_same_length
Closing fence with same length closes the block.
tests/test_api/test_make_fence_rule.py:106
Method
test_exact_match_shorter_no_close
Closing fence with fewer markers does NOT close (exact match required).
tests/test_api/test_make_fence_rule.py:124
Function
test_fatal
(line, title, input, expected)
tests/test_port/test_fixtures.py:88
Function
test_file
(file_regression)
tests/test_cmark_spec/test_spec.py:16
Function
test_fragments_join_merges_adjacent_text_tokens
fragments_join should merge runs of adjacent text tokens into one. Underscore characters flanked by word characters (e.g. ``a_b``) are not va
tests/test_api/test_main.py:307
Function
test_fuzzing
(raw_input, expected)
tests/test_fuzzer.py:22
Function
test_get_rules
()
tests/test_api/test_main.py:5
Function
test_gfm_like2_alert_token_map
()
tests/test_api/test_main.py:111
Function
test_gfm_like2_tasklists_editable
()
tests/test_api/test_main.py:95
Function
test_highlight_arguments
()
tests/test_port/test_misc.py:4
Function
test_inline_after
(capsys)
tests/test_api/test_plugin_creation.py:13
Function
test_inline_at
(capsys)
tests/test_api/test_plugin_creation.py:29
Function
test_inline_before
(capsys)
tests/test_api/test_plugin_creation.py:21
Function
test_inline_definitions
(data_regression)
tests/test_port/test_references.py:47
Function
test_interactive
()
tests/test_cli.py:38
Function
test_interactive_render
()
tests/test_cli.py:83
Function
test_issue_fixes
(line, title, input, expected)
tests/test_port/test_fixtures.py:152
Function
test_linkify
(line, title, input, expected)
tests/test_port/test_fixtures.py:15
Function
test_load_presets
()
tests/test_api/test_main.py:49
Method
test_longer_closing
Closing fence can be longer than opening (default, not exact_match).
tests/test_api/test_make_fence_rule.py:51
Function
test_main_no_args_is_interactive
()
tests/test_cli.py:47
Function
test_markdown_it_py
(benchmark, spec_text)
benchmarking/bench_packages.py:13
Function
test_markdown_it_pyrs
(benchmark, spec_text)
benchmarking/bench_packages.py:22
Method
test_min_markers_custom
Custom min_markers allows changing the threshold.
tests/test_api/test_make_fence_rule.py:210
Method
test_min_markers_default
Default min_markers is 3.
tests/test_api/test_make_fence_rule.py:203
Function
test_mistletoe
(benchmark, spec_text)
benchmarking/bench_packages.py:63
Function
test_mistune
(benchmark, spec_text)
benchmarking/bench_packages.py:31
← previous
next →
201–300 of 361, ranked by callers