1 from typing import Any, Pattern
3 from markdown.extensions import Extension
4 from markdown.inlinepatterns import InlineProcessor
5 from markdown.postprocessors import Postprocessor
6 from markdown.preprocessors import Preprocessor
7 from markdown.treeprocessors import Treeprocessor
12 TABBED_RE: Pattern[str]
15 class FootnoteExtension(Extension):
16 unique_prefix: int = ...
19 def __init__(self, **kwargs) -> None: ...
23 def reset(self) -> None: ...
24 def unique_ref(self, reference, found: bool = ...): ...
25 def findFootnotesPlaceholder(self, root): ...
26 def setFootnote(self, id, text) -> None: ...
27 def get_separator(self): ...
28 def makeFootnoteId(self, id): ...
29 def makeFootnoteRefId(self, id, found: bool = ...): ...
30 def makeFootnotesDiv(self, root): ...
32 class FootnotePreprocessor(Preprocessor):
34 def __init__(self, footnotes) -> None: ...
35 def detectTabbed(self, lines): ...
37 class FootnoteInlineProcessor(InlineProcessor):
39 def __init__(self, pattern, footnotes) -> None: ...
41 class FootnotePostTreeprocessor(Treeprocessor):
43 def __init__(self, footnotes) -> None: ...
44 def add_duplicates(self, li, duplicates) -> None: ...
45 def get_num_duplicates(self, li): ...
46 def handle_duplicates(self, parent) -> None: ...
49 class FootnoteTreeprocessor(Treeprocessor):
51 def __init__(self, footnotes) -> None: ...
53 class FootnotePostprocessor(Postprocessor):
55 def __init__(self, footnotes) -> None: ...
57 def makeExtension(**kwargs): ...