massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Markdown / markdown / extensions / toc.pyi
1 from typing import Any, Pattern
2
3 from markdown.extensions import Extension
4 from markdown.treeprocessors import Treeprocessor
5
6 def slugify(value, separator): ...
7
8 IDCOUNT_RE: Pattern[str]
9
10 def unique(id, ids): ...
11 def get_name(el): ...
12 def stashedHTML2text(text, md, strip_entities: bool = ...): ...
13 def unescape(text): ...
14 def nest_toc_tokens(toc_list): ...
15
16 class TocTreeprocessor(Treeprocessor):
17     marker: Any
18     title: Any
19     base_level: Any
20     slugify: Any
21     sep: Any
22     use_anchors: Any
23     anchorlink_class: Any
24     use_permalinks: Any
25     permalink_class: Any
26     permalink_title: Any
27     header_rgx: Any
28     toc_top: int = ...
29     toc_bottom: Any
30     def __init__(self, md, config) -> None: ...
31     def iterparent(self, node) -> None: ...
32     def replace_marker(self, root, elem) -> None: ...
33     def set_level(self, elem) -> None: ...
34     def add_anchor(self, c, elem_id) -> None: ...
35     def add_permalink(self, c, elem_id) -> None: ...
36     def build_toc_div(self, toc_list): ...
37
38 class TocExtension(Extension):
39     TreeProcessorClass: Any
40     def __init__(self, **kwargs) -> None: ...
41     md: Any
42     def reset(self) -> None: ...
43
44 def makeExtension(**kwargs): ...