mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
markdown: Add missing attribute to Markdown stub. (#5544)
* markdown: Add missing attribute to Markdown stub. * markdown: Add * to mark rest of arguments as keyword-only. * markdown: Add **options
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import Any, Optional
|
||||
from typing import Any, Dict, Optional
|
||||
|
||||
from markdown.extensions import Extension
|
||||
from markdown.treeprocessors import Treeprocessor
|
||||
@@ -18,9 +18,11 @@ class CodeHilite:
|
||||
tab_length: Any
|
||||
hl_lines: Any
|
||||
use_pygments: Any
|
||||
options: Dict[str, Any]
|
||||
def __init__(
|
||||
self,
|
||||
src: Optional[Any] = ...,
|
||||
*,
|
||||
linenums: Optional[Any] = ...,
|
||||
guess_lang: bool = ...,
|
||||
css_class: str = ...,
|
||||
@@ -30,6 +32,7 @@ class CodeHilite:
|
||||
tab_length: int = ...,
|
||||
hl_lines: Optional[Any] = ...,
|
||||
use_pygments: bool = ...,
|
||||
**options: Any,
|
||||
) -> None: ...
|
||||
def hilite(self): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user