brk-code

pymdown-extensions の API リファレンス

pymdown-extensions (facelessuser/pymdown-extensions) の公開 API 308 件 —— クラス 103、関数 82、メソッド 123。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: facelessuser/pymdown-extensions

種別件数
クラス103
関数82
メソッド123

API 一覧

classhatch_build.CustomMetadataHook
Our metadata hook.
classpymdownx.__meta__.Version
Get the version (PEP 440).
funcpymdownx.__meta__.parse_version(ver:str) -> Version
Parse version into a comparable Version tuple.
classpymdownx._bypassnorm.BypassNormExtension
Bypass whitespace normalization.
classpymdownx._bypassnorm.PostNormalizePreprocessor
Preprocessor to clean up normalization bypass hack.
classpymdownx._bypassnorm.PreNormalizePreprocessor
Preprocessor to remove workaround symbols.
funcpymdownx._bypassnorm.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.arithmatex.ArithmatexExtension
Adds delete extension to Markdown class.
classpymdownx.arithmatex.BlockArithmatexProcessor
MathJax block processor to find $$MathJax$$ content.
methodpymdownx.arithmatex.BlockArithmatexProcessor.generic_output(parent, math)
Generic output.
methodpymdownx.arithmatex.BlockArithmatexProcessor.mathjax_output(parent, math)
Default MathJax output.
classpymdownx.arithmatex.InlineArithmatexPattern
Arithmatex inline pattern handler.
funcpymdownx.arithmatex.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.b64.B64Extension
B64 extension.
classpymdownx.b64.B64Postprocessor
Post processor for B64.
funcpymdownx.b64.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.b64.repl(m, base_path, root_path, restrict_path=True)
Replace.
funcpymdownx.b64.repl_path(m, base_path, root_path, restrict_path=True)
Replace path with b64 encoded data.
classpymdownx.betterem.AsteriskProcessor
Emphasis processor for handling strong and em matches.
classpymdownx.betterem.BetterEmExtension
Add extension to Markdown class.
methodpymdownx.betterem.BetterEmExtension.extendMarkdown(md)
Modify inline patterns.
methodpymdownx.betterem.BetterEmExtension.make_better(md)
Configure all the pattern rules.
classpymdownx.betterem.SmartAsteriskProcessor
Smart emphasis and strong processor.
classpymdownx.betterem.SmartUnderscoreProcessor
Emphasis processor for handling strong and em matches.
classpymdownx.betterem.UnderscoreProcessor
Emphasis processor for handling strong and em matches.
funcpymdownx.betterem.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.blocks.BlockEntry
Track Block entries.
classpymdownx.blocks.BlocksExtension
Blocks Extension.
methodpymdownx.blocks.BlocksExtension.extendMarkdown(md:Markdown) -> None
Extend markdown.
methodpymdownx.blocks.BlocksExtension.extendMarkdownBlocks(md:Markdown, block_mgr:BlocksProcessor) -> None
Extend Markdown blocks.
methodpymdownx.blocks.BlocksExtension.register_block_mgr(md:Markdown) -> BlocksProcessor
Add Blocks to Markdown instance.
classpymdownx.blocks.BlocksMgrExtension
Add generic Blocks extension.
methodpymdownx.blocks.BlocksMgrExtension.extendMarkdown(md:Markdown) -> None
Add Blocks to Markdown instance.
methodpymdownx.blocks.BlocksMgrExtension.reset() -> None
Reset.
classpymdownx.blocks.BlocksProcessor
Generic block processor.
methodpymdownx.blocks.BlocksProcessor.capture_leaked_content(parent:etree.Element, entry:BlockEntry) -> None
Capture leaked content.
methodpymdownx.blocks.BlocksProcessor.detab_by_length(text:str, length:int) -> tuple[str, str]
Remove a tab from the front of each line of the given text.
methodpymdownx.blocks.BlocksProcessor.get_parent(parent:etree.Element) -> etree.Element | None
Get parent.
methodpymdownx.blocks.BlocksProcessor.is_block(tag:etree.Element) -> bool
Is tag block.
methodpymdownx.blocks.BlocksProcessor.is_raw(tag:etree.Element) -> bool
Is tag raw.
methodpymdownx.blocks.BlocksProcessor.parse_blocks(blocks:list[str], current_parent:etree.Element) -> None
Parse the blocks.
methodpymdownx.blocks.BlocksProcessor.register(b:type[Block], config:dict[str, Any]) -> None
Register a block.
methodpymdownx.blocks.BlocksProcessor.run(parent:etree.Element, blocks:list[str]) -> None
Convert to details/summary block.
methodpymdownx.blocks.BlocksProcessor.split_header(block:str, length:int) -> tuple[dict[str, Any] | None, str]
Split, YAML-ish header out.
methodpymdownx.blocks.BlocksProcessor.test(parent:etree.Element, block:str) -> bool
Test to see if we should process the block.
classpymdownx.blocks.BlocksTreeprocessor
Blocks tree processor.
methodpymdownx.blocks.BlocksTreeprocessor.run(root:etree.Element) -> None
Update tab IDs.
classpymdownx.blocks.admonition.Admonition
Admonition.
methodpymdownx.blocks.admonition.Admonition.on_create(parent)
Create the element.
methodpymdownx.blocks.admonition.Admonition.on_validate(parent)
Handle on validate event.
classpymdownx.blocks.admonition.AdmonitionExtension
Admonition Blocks Extension.
funcpymdownx.blocks.admonition.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.blocks.block.Block
Block.
methodpymdownx.blocks.block.Block.dedent(text:str, length:int | None=None) -> str
Dedent raw text.
methodpymdownx.blocks.block.Block.html_escape(text:str) -> str
Basic html escaping.
methodpymdownx.blocks.block.Block.is_block(tag:etree.Element) -> bool
Is block element.
methodpymdownx.blocks.block.Block.is_raw(tag:etree.Element) -> bool
Is raw element.
methodpymdownx.blocks.block.Block.on_create(parent:etree.Element) -> etree.Element
Create the needed element and return it.
methodpymdownx.blocks.block.Block.on_end(block:etree.Element) -> None
Perform any action on end.
methodpymdownx.blocks.block.Block.on_init() -> None
On initialize.
methodpymdownx.blocks.block.Block.on_inline_end(block:etree.Element) -> None
Perform action on the block after inline parsing.
methodpymdownx.blocks.block.Block.on_validate(parent:etree.Element) -> bool
Handle validation event.
funcpymdownx.blocks.block.type_any(value:_T) -> _T
Accepts any type.
funcpymdownx.blocks.block.type_boolean(value:Any) -> bool
Ensure type boolean or fail.
funcpymdownx.blocks.block.type_html_attribute_dict(value:Any) -> dict[str, str | list[str]]
Attribute dictionary.
funcpymdownx.blocks.block.type_html_identifier(value:Any) -> str
Ensure type HTML attribute name or fail.
funcpymdownx.blocks.block.type_integer(value:Any) -> int
Ensure type integer or fail.
funcpymdownx.blocks.block.type_multi(*args:Callable[[Any], _T]) -> Callable[[Any], _T]
Validate a type with multiple type functions.
funcpymdownx.blocks.block.type_none(value:Any) -> None
Ensure type None or fail.
funcpymdownx.blocks.block.type_number(value:Any) -> int | float
Ensure type number or fail.
funcpymdownx.blocks.block.type_ranged_integer(minimum:int | None=None, maximum:int | None=None) -> Callable[[Any], int | float]
Ensured type integer is within range.
funcpymdownx.blocks.block.type_ranged_number(minimum:int | None=None, maximum:int | None=None) -> Callable[[Any], int | float]
Ensure typed number is within range.
funcpymdownx.blocks.block.type_string(value:Any) -> str
Ensure type string or fail.
funcpymdownx.blocks.block.type_string_delimiter(split:str, string_type:Callable[[Any], str]=type_string) -> Callable[[Any], list[str]]
String delimiter function.
funcpymdownx.blocks.block.type_string_in(accepted:Iterable[str], insensitive:bool=True) -> Callable[[Any], str]
Ensure type string is within the accepted list.
funcpymdownx.blocks.block.type_string_insensitive(value:Any) -> str
Ensure type string and normalize case.
classpymdownx.blocks.caption.Caption
Figure captions.
methodpymdownx.blocks.caption.Caption.on_create(parent)
Create the element.
methodpymdownx.blocks.caption.Caption.on_init()
Initialize.
methodpymdownx.blocks.caption.Caption.on_validate(parent)
Handle on validate event.
classpymdownx.blocks.caption.CaptionExtension
Caption Extension.
classpymdownx.blocks.caption.CaptionTreeprocessor
Caption tree processor.
funcpymdownx.blocks.caption.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.blocks.definition.Definition
Definition.
methodpymdownx.blocks.definition.Definition.on_create(parent)
Create the element.
classpymdownx.blocks.definition.DefinitionExtension
Definition Blocks Extension.
funcpymdownx.blocks.definition.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.blocks.details.Details
Details.
methodpymdownx.blocks.details.Details.on_create(parent)
Create the element.
methodpymdownx.blocks.details.Details.on_validate(parent)
Handle on validate event.
classpymdownx.blocks.details.DetailsExtension
Admonition Blocks Extension.
funcpymdownx.blocks.details.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.blocks.get_frontmatter(string:str) -> dict[str, Any] | None
Get frontmatter from string.
classpymdownx.blocks.html.HTML
HTML.
methodpymdownx.blocks.html.HTML.on_create(parent)
Create the element.
methodpymdownx.blocks.html.HTML.on_end(block)
On end event.
methodpymdownx.blocks.html.HTML.on_markdown()
Check if this is atomic.
methodpymdownx.blocks.html.HTML.on_validate(parent)
Handle argument parsing.
classpymdownx.blocks.html.HTMLExtension
HTML Blocks Extension.
methodpymdownx.blocks.html.HTMLExtension.extendMarkdownBlocks(md, block_mgr)
Extend Markdown blocks.
funcpymdownx.blocks.html.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.blocks.html.parse_selectors(selector, require_tag=True)
Parse the selector.
funcpymdownx.blocks.reindent(text:str, pos:int, level:int) -> list[str]
Reindent the code to where it is supposed to be.
classpymdownx.blocks.tab.Tab
Tabbed container.
methodpymdownx.blocks.tab.Tab.on_add(block)
Adjust where the content is added.
methodpymdownx.blocks.tab.Tab.on_create(parent)
Create the element.
methodpymdownx.blocks.tab.Tab.on_init()
Handle initialization.
classpymdownx.blocks.tab.TabExtension
Admonition Blocks Extension.
methodpymdownx.blocks.tab.TabExtension.extendMarkdownBlocks(md, block_mgr)
Extend Markdown blocks.
classpymdownx.blocks.tab.TabbedTreeprocessor
Tab tree processor.
methodpymdownx.blocks.tab.TabbedTreeprocessor.run(doc)
Update tab IDs.
funcpymdownx.blocks.tab.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.caret.CaretInsertProcessor
Just insert processor.
classpymdownx.caret.CaretSmartInsertProcessor
Just smart insert processor.
classpymdownx.caret.CaretSmartProcessor
Smart insert and sup processor.
classpymdownx.caret.CaretSupProcessor
Just superscript processor.
classpymdownx.caret.InsertSupExtension
Add insert and/or superscript extension to Markdown class.
funcpymdownx.caret.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.critic.CriticExtension
Critic extension.
methodpymdownx.critic.CriticExtension.extendMarkdown(md)
Register the extension.
methodpymdownx.critic.CriticExtension.reset()
Clear stash.
classpymdownx.critic.CriticStash
Stash critic marks until ready.
methodpymdownx.critic.CriticStash.clear()
Clear the stash.
methodpymdownx.critic.CriticStash.get(key, default=None)
Get the specified item from the stash.
methodpymdownx.critic.CriticStash.remove(key)
Remove the specified item from the stash.
methodpymdownx.critic.CriticStash.store(code)
Store the code in the stash with the placeholder.
classpymdownx.critic.CriticViewPreprocessor
Handle viewing critic marks in Markdown content.
methodpymdownx.critic.CriticViewPreprocessor.critic_parse(m)
Normal critic parser.
methodpymdownx.critic.CriticViewPreprocessor.html_escape(txt, strip_nl=False)
Basic html escaping.
methodpymdownx.critic.CriticViewPreprocessor.run(lines)
Process critic marks.
classpymdownx.critic.CriticsPostprocessor
Handle cleanup on post process for viewing critic marks.
methodpymdownx.critic.CriticsPostprocessor.block_edit(m)
Handle block edits.
methodpymdownx.critic.CriticsPostprocessor.run(text)
Replace critic placeholders.
funcpymdownx.critic.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.details.DetailsExtension
Add Details extension.
classpymdownx.details.DetailsProcessor
Details block processor.
methodpymdownx.details.DetailsProcessor.parse_content(parent, block)
Get sibling details.
methodpymdownx.details.DetailsProcessor.test(parent, block)
Test block.
funcpymdownx.details.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.emoji.EmojiAlertPostprocessor
Post processor to strip out unwanted content.
classpymdownx.emoji.EmojiExtension
Add emoji extension to Markdown class.
methodpymdownx.emoji.EmojiExtension.extendMarkdown(md)
Add support for emoji.
methodpymdownx.emoji.EmojiExtension.reset()
Reset.
funcpymdownx.emoji.emojione(options, md)
The EmojiOne index.
funcpymdownx.emoji.gemoji(options, md)
The Gemoji index.
funcpymdownx.emoji.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.emoji.to_alt(index, shortname, alias, uc, alt, title, category, options, md)
Return html entities.
funcpymdownx.emoji.to_png(index, shortname, alias, uc, alt, title, category, options, md)
Return PNG element.
funcpymdownx.emoji.to_svg(index, shortname, alias, uc, alt, title, category, options, md)
Return SVG element.
funcpymdownx.emoji.twemoji(options, md)
The Twemoji index.
classpymdownx.escapeall.EscapeAllExtension
Extension that allows you to escape everything.
methodpymdownx.escapeall.EscapeAllExtension.extendMarkdown(md)
Escape all.
classpymdownx.escapeall.EscapeAllPattern
Return an escaped character.
funcpymdownx.escapeall.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.extra.ExtraExtension
Add various extensions to Markdown class.
methodpymdownx.extra.ExtraExtension.extendMarkdown(md)
Register extension instances.
funcpymdownx.extra.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.fancylists.FancyListBlock
Collapse code.
methodpymdownx.fancylists.FancyListBlock.on_create(parent)
Create the element.
methodpymdownx.fancylists.FancyListBlock.on_end(block)
On end.
methodpymdownx.fancylists.FancyListBlock.on_init()
Handle initialization.
methodpymdownx.fancylists.FancyListBlock.on_validate(parent)
Handle on validate event.
classpymdownx.fancylists.FancyListExtension
HTML Blocks Extension.
classpymdownx.fancylists.FancyListTreeprocessor
Clean up fancy list metadata.
classpymdownx.fancylists.FancyOListProcessor
Process fancy ordered list blocks.
methodpymdownx.fancylists.FancyOListProcessor.run(parent, blocks)
Process list items.
classpymdownx.fancylists.FancyUListProcessor
Process unordered list blocks.
funcpymdownx.fancylists.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.fancylists.roman2int(s)
Convert Roman numeral to integer.
classpymdownx.highlight.BlockHtmlFormatter
Adds ability to output line numbers in a new way.
methodpymdownx.highlight.BlockHtmlFormatter.wrap(source)
Wrap the source code.
classpymdownx.highlight.Highlight
Highlight class.
methodpymdownx.highlight.Highlight.escape(txt)
Basic HTML escaping.
methodpymdownx.highlight.Highlight.get_extended_language(language)
Get extended language.
methodpymdownx.highlight.Highlight.get_lexer(src, language, inline, stripnl)
Get the Pygments lexer.
classpymdownx.highlight.HighlightExtension
Configure highlight settings globally.
methodpymdownx.highlight.HighlightExtension.get_pymdownx_highlighter()
Get the highlighter.
methodpymdownx.highlight.HighlightExtension.reset()
Reset.
classpymdownx.highlight.HighlightTreeprocessor
Highlight source code in code blocks.
methodpymdownx.highlight.HighlightTreeprocessor.code_unescape(text)
Unescape code.
classpymdownx.highlight.InlineHtmlFormatter
Format the code blocks.
methodpymdownx.highlight.InlineHtmlFormatter.wrap(source)
Overload wrap.
funcpymdownx.highlight.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.inlinehilite.InlineHiliteException
InlineHilite exception.
classpymdownx.inlinehilite.InlineHiliteExtension
Add inline highlighting extension to Markdown class.
classpymdownx.inlinehilite.InlineHilitePattern
Handle the inline code patterns.
methodpymdownx.inlinehilite.InlineHilitePattern.handleMatch(m, data)
Handle the pattern match.
methodpymdownx.inlinehilite.InlineHilitePattern.handle_code(lang, src)
Handle code block.
funcpymdownx.inlinehilite.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.keys.KeysExtension
Add `keys`` extension to Markdown class.
methodpymdownx.keys.KeysExtension.extendMarkdown(md)
Add support for keys.
classpymdownx.keys.KeysPattern
Return kbd tag.
methodpymdownx.keys.KeysPattern.handleMatch(m, data)
Handle kbd pattern matches.
methodpymdownx.keys.KeysPattern.normalize(key)
Normalize the value.
methodpymdownx.keys.KeysPattern.process_key(key)
Process key.
funcpymdownx.keys.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.magiclink.MagiclinkInternalRefsPattern
Convert #1, !1, and commit_hash.
classpymdownx.magiclink.MagiclinkMailPattern
Convert emails to clickable email links.
methodpymdownx.magiclink.MagiclinkMailPattern.handleMatch(m, data)
Handle email link patterns.
classpymdownx.magiclink.MagiclinkMentionPattern
Convert @mention to links.
classpymdownx.magiclink.MagiclinkPattern
Convert html, ftp links to clickable links.
methodpymdownx.magiclink.MagiclinkPattern.handleMatch(m, data)
Handle URL matches.
classpymdownx.magiclink.MagiclinkRepositoryPattern
Convert @user/repo to links.
funcpymdownx.magiclink.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.mark.MarkExtension
Add the mark extension to Markdown class.
classpymdownx.mark.MarkProcessor
Handle mark patterns.
classpymdownx.mark.MarkSmartProcessor
Handle smart mark patterns.
funcpymdownx.mark.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.pathconverter.PathConverterExtension
PathConverter extension.
classpymdownx.pathconverter.PathConverterPostprocessor
Post process to find tag lings to convert.
methodpymdownx.pathconverter.PathConverterPostprocessor.run(text)
Find and convert paths.
funcpymdownx.pathconverter.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.pathconverter.repl(m, base_path, rel_path=None, file_scheme=None)
Replace.
classpymdownx.progressbar.ProgressBarExtension
Add progress bar extension to Markdown class.
classpymdownx.progressbar.ProgressBarPattern
Pattern handler for the progress bars.
methodpymdownx.progressbar.ProgressBarPattern.create_tag(width, label, add_classes, alist)
Create the tag.
methodpymdownx.progressbar.ProgressBarPattern.handleMatch(m, data)
Handle the match.
classpymdownx.progressbar.ProgressBarTreeProcessor
Used for AttrList compatibility.
funcpymdownx.progressbar.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.quotes.QuotesExtension
Add blockquotes extension to Markdown class.
methodpymdownx.quotes.QuotesExtension.extendMarkdown(md:Markdown) -> None
Add support for blockquotes.
classpymdownx.quotes.QuotesProcessor
Process blockquotes.
methodpymdownx.quotes.QuotesProcessor.clean(line:str) -> str
Remove `>` from beginning of a line.
methodpymdownx.quotes.QuotesProcessor.run(parent:etree.Element, blocks:list[str]) -> None
Create blockquote.
methodpymdownx.quotes.QuotesProcessor.test(parent:etree.Element, block:str) -> bool
Test for block quote.
funcpymdownx.quotes.makeExtension(*args:Any, **kwargs:Any) -> Extension
Return extension.
classpymdownx.saneheaders.SaneHeadersExtension
Adds the sane headers extension.
classpymdownx.saneheaders.SaneHeadersProcessor
Process hash headers syntax.
funcpymdownx.saneheaders.makeExtension(*args, **kwargs)
Return extension.
funcpymdownx.slugs.lower(m)
Lowercase character.
funcpymdownx.slugs.slugify(**kwargs)
Configurable slugify.
funcpymdownx.slugs.uslugify(text, sep)
Unicode slugify.
funcpymdownx.slugs.uslugify_encoded(text, sep)
Unicode slugify (percent encoded).
classpymdownx.smartsymbols.SmartSymbolsExtension
Smart Symbols extension.
classpymdownx.smartsymbols.SmartSymbolsPattern
Smart symbols patterns handler.
methodpymdownx.smartsymbols.SmartSymbolsPattern.handleMatch(m, data)
Replace symbol.
funcpymdownx.smartsymbols.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.snippets.SnippetExtension
Snippet extension.
methodpymdownx.snippets.SnippetExtension.extendMarkdown(md)
Register the extension.
methodpymdownx.snippets.SnippetExtension.reset()
Reset.
classpymdownx.snippets.SnippetMissingError
Snippet missing exception.
classpymdownx.snippets.SnippetPreprocessor
Handle snippets in Markdown content.
methodpymdownx.snippets.SnippetPreprocessor.dedent(lines)
De-indent lines.
methodpymdownx.snippets.SnippetPreprocessor.get_snippet_path(path)
Get snippet path.
methodpymdownx.snippets.SnippetPreprocessor.run(lines)
Process snippets.
funcpymdownx.snippets.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.striphtml.StripHtmlExtension
StripHTML extension.
classpymdownx.striphtml.StripHtmlPostprocessor
Post processor to strip out unwanted content.
funcpymdownx.striphtml.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.superfences.CodeStash
Stash code for later retrieval.
methodpymdownx.superfences.CodeStash.clear_stash()
Clear the stash.
methodpymdownx.superfences.CodeStash.get(key, default=None)
Get the code from the key.
methodpymdownx.superfences.CodeStash.remove(key)
Remove the stashed code.
methodpymdownx.superfences.CodeStash.store(key, code, indent_level)
Store the code in the stash.
classpymdownx.superfences.SuperFencesBlockPreprocessor
Preprocessor to find fenced code blocks.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.clear()
Reset the class variables.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.handle_attrs(m)
Handle attribute list.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.normalize_ws(text)
Normalize whitespace.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.parse_fence_line(line)
Parse fence line.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.parse_line_special(linespecial)
Parse line start.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.parse_line_start(linestart)
Parse line start.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.parse_line_step(linestep)
Parse line start.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.parse_options(m)
Get options.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.reassemble(lines)
Reassemble text.
methodpymdownx.superfences.SuperFencesBlockPreprocessor.run(lines)
Search for fenced blocks.
classpymdownx.superfences.SuperFencesCodeExtension
SuperFences code block extension.
methodpymdownx.superfences.SuperFencesCodeExtension.reset()
Clear the stash.
funcpymdownx.superfences.default_validator(language, inputs, options, attrs, md)
Default validator.
funcpymdownx.superfences.fence_div_format(source, language, class_name, options, md, **kwargs)
Format source as div.
funcpymdownx.superfences.highlight_validator(language, inputs, options, attrs, md)
Highlight validator.
funcpymdownx.superfences.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.tabbed.TabbedExtension
Add Tabbed extension.
methodpymdownx.tabbed.TabbedExtension.reset()
Reset.
classpymdownx.tabbed.TabbedProcessor
Tabbed block processor.
methodpymdownx.tabbed.TabbedProcessor.parse_content(parent, block)
Get sibling tab.
methodpymdownx.tabbed.TabbedProcessor.run(parent, blocks)
Convert to tabbed block.
methodpymdownx.tabbed.TabbedProcessor.test(parent, block)
Test block.
classpymdownx.tabbed.TabbedTreeprocessor
Tab tree processor.
methodpymdownx.tabbed.TabbedTreeprocessor.run(doc)
Update tab IDs.
funcpymdownx.tabbed.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.tasklist.TasklistExtension
Tasklist extension.
funcpymdownx.tasklist.get_checkbox(state, custom_checkbox=False, clickable_checkbox=False)
Get checkbox tag.
funcpymdownx.tasklist.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.tilde.DeleteSubExtension
Add delete and/or subscript extension to Markdown class.
classpymdownx.tilde.TildeDeleteProcessor
Just delete processor.
classpymdownx.tilde.TildeSmartDeleteProcessor
Just smart delete processor.
classpymdownx.tilde.TildeSmartProcessor
Smart delete and subscript processor.
classpymdownx.tilde.TildeSubProcessor
Just subscript processor.
funcpymdownx.tilde.makeExtension(*args, **kwargs)
Return extension.
classpymdownx.util.PatSeqItem
Pattern sequence item item.
methodpymdownx.util.PatternSequenceProcessor.build_double(m:re.Match[str], tags:str, full_recursion:bool, idx:int) -> etree.Element
Return double tag.
methodpymdownx.util.PatternSequenceProcessor.build_element(m:re.Match[str], builder:str, tags:str, full_recursion:bool, index:int) -> etree.Element
Element builder.
methodpymdownx.util.PatternSequenceProcessor.build_single(m:re.Match[str], tag:str, full_recursion:bool, idx:int) -> etree.Element
Return single tag.
methodpymdownx.util.PatternSequenceProcessor.handleMatch(m:re.Match[str], data:str) -> tuple[etree.Element | None, int | None, int | None]
Parse patterns.
methodpymdownx.util.PatternSequenceProcessor.parse_sub_patterns(data:str, parent:etree.Element, last:None | etree.Element, full_recursion:bool, idx:int) -> None
Parses sub patterns.
funcpymdownx.util.clamp(value:float, mn:float, mx:float) -> float
Clamp the value to the given minimum and maximum.
funcpymdownx.util.escape_chars(md:Markdown, echrs:Sequence[str]) -> None
Add chars to the escape list.
funcpymdownx.util.get_char(value:int) -> str
Get the Unicode char.
funcpymdownx.util.get_code_points(s:str) -> list[str]
Get the Unicode code points.
funcpymdownx.util.get_ord(c:str) -> int
Get Unicode ord.
funcpymdownx.util.is_linux() -> bool
Is Linux.
funcpymdownx.util.is_mac() -> bool
Is macOS.
funcpymdownx.util.is_win() -> bool
Is Windows.
funcpymdownx.util.parse_url(url:str) -> tuple[str, str, str, str, str, str, bool, bool]
Parse the URL.
funcpymdownx.util.path2url(url:str) -> str
URL to path.
funcpymdownx.util.url2path(path:str) -> str
Path to URL.
funcpymdownx.util.warn_deprecated(message:str, stacklevel:int=2) -> None
Warn deprecated.
funcrun_tests.main()
Main function.

この情報について

掲載しているシグネチャは facelessuser/pymdown-extensions の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る