Show More
@@ -96,6 +96,7 b' class MathBlockLexer(mistune.BlockLexer):' | |||||
96 | @undoc |
|
96 | @undoc | |
97 | class MathInlineGrammar(mistune.InlineGrammar): |
|
97 | class MathInlineGrammar(mistune.InlineGrammar): | |
98 | math = re.compile("^\$(.+?)\$") |
|
98 | math = re.compile("^\$(.+?)\$") | |
|
99 | text = re.compile(r'^[\s\S]+?(?=[\\<!\[_*`~$]|https?://| {2,}\n|$)') | |||
99 |
|
100 | |||
100 | @undoc |
|
101 | @undoc | |
101 | class MathInlineLexer(mistune.InlineLexer): |
|
102 | class MathInlineLexer(mistune.InlineLexer): |
General Comments 0
You need to be logged in to leave comments.
Login now