Method: rich.markdown.Markdown.__init__
Calls: 4, Exceptions: 0, Paths: 1Back
Path 1: 4 calls (1.0)
'# Markdown\n\nSupports much of the *markdown* __syntax__!\n\n- Headers\n- Basic formatting: **bold**, *italic*, `code`\n- Block quotes\n- Lists, and ...
'monokai' (4)
None (4)
'none' (4)
True (3) False (1)
None (3) 'python' (1)
None (3) 'emacs' (1)
1def __init__(
2 self,
3 markup: str,
4 code_theme: str = "monokai",
5 justify: Optional[JustifyMethod] = None,
6 style: Union[str, Style] = "none",
7 hyperlinks: bool = True,
8 inline_code_lexer: Optional[str] = None,
9 inline_code_theme: Optional[str] = None,
10 ) -> None:
11 self.markup = markup
12 parser = Parser()
13 self.parsed = parser.parse(markup)
14 self.code_theme = code_theme
15 self.justify: Optional[JustifyMethod] = justify
16 self.style = style
17 self.hyperlinks = hyperlinks
18 self.inline_code_lexer = inline_code_lexer
19 self.inline_code_theme = inline_code_theme or code_theme