Show More
@@ -113,9 +113,9 b' class MathInlineLexer(mistune.InlineLexer):' | |||||
113 | class MarkdownWithMath(mistune.Markdown): |
|
113 | class MarkdownWithMath(mistune.Markdown): | |
114 | def __init__(self, renderer, **kwargs): |
|
114 | def __init__(self, renderer, **kwargs): | |
115 | if 'inline' not in kwargs: |
|
115 | if 'inline' not in kwargs: | |
116 |
kwargs['inline'] = MathInlineLexer |
|
116 | kwargs['inline'] = MathInlineLexer | |
117 | if 'block' not in kwargs: |
|
117 | if 'block' not in kwargs: | |
118 |
kwargs['block'] = MathBlockLexer |
|
118 | kwargs['block'] = MathBlockLexer | |
119 | super(MarkdownWithMath, self).__init__(renderer, **kwargs) |
|
119 | super(MarkdownWithMath, self).__init__(renderer, **kwargs) | |
120 |
|
120 | |||
121 | def parse_block_math(self): |
|
121 | def parse_block_math(self): |
General Comments 0
You need to be logged in to leave comments.
Login now