markdown: annotate HtmlStash. (#8067)

This commit is contained in:
Lee
2022-06-13 16:47:51 +08:00
committed by GitHub
parent 1be5918baa
commit 70d903c8b6

View File

@@ -29,14 +29,14 @@ class Processor:
class HtmlStash:
html_counter: int = ...
rawHtmlBlocks: Any
rawHtmlBlocks: list[str]
tag_counter: int = ...
tag_data: Any
tag_data: list[dict[str, Any]]
def __init__(self) -> None: ...
def store(self, html): ...
def store(self, html: str) -> str: ...
def reset(self) -> None: ...
def get_placeholder(self, key): ...
def store_tag(self, tag, attrs, left_index, right_index): ...
def get_placeholder(self, key: int) -> str: ...
def store_tag(self, tag: str, attrs: list[Any], left_index: int, right_index: int) -> str: ...
class Registry:
def __init__(self) -> None: ...