massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Markdown / markdown / extensions / codehilite.pyi
1 from typing import Any
2
3 from markdown.extensions import Extension
4 from markdown.treeprocessors import Treeprocessor
5
6 pygments: bool
7
8 def parse_hl_lines(expr): ...
9
10 class CodeHilite:
11     src: Any
12     lang: Any
13     linenums: Any
14     guess_lang: Any
15     css_class: Any
16     style: Any
17     noclasses: Any
18     tab_length: Any
19     hl_lines: Any
20     use_pygments: Any
21     options: dict[str, Any]
22     def __init__(
23         self,
24         src: Any | None = ...,
25         *,
26         linenums: Any | None = ...,
27         guess_lang: bool = ...,
28         css_class: str = ...,
29         lang: Any | None = ...,
30         style: str = ...,
31         noclasses: bool = ...,
32         tab_length: int = ...,
33         hl_lines: Any | None = ...,
34         use_pygments: bool = ...,
35         **options: Any,
36     ) -> None: ...
37     def hilite(self, shebang: bool = ...) -> str: ...
38
39 class HiliteTreeprocessor(Treeprocessor):
40     def code_unescape(self, text): ...
41
42 class CodeHiliteExtension(Extension):
43     def __init__(self, **kwargs) -> None: ...
44
45 def makeExtension(**kwargs): ...