File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " markdown-it-texmath" ,
3
- "version" : " 0.9.4 " ,
3
+ "version" : " 0.9.5 " ,
4
4
"description" : " markdown-it extension for rendering TeX Math" ,
5
5
"keywords" : [
6
6
" TeX" ,
Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ Use following links for `texmath.js` and `texmath.css`
123
123
But if someone wants to help here out, pull requests are always welcome.
124
124
125
125
## CHANGELOG
126
+ ### [ 0.9.5] on November 12, 2021
127
+ * More Optimization done with the 'dollars' regexes.
126
128
### [ 0.9.4] on November 12, 2021
127
129
* Optimizing the 'dollars' regexes. Thanks to [ Erik Demaine] ( https://github.com/edemaine ) .
128
130
* Adding 'doxygen' delimiters support. ([ #31 ] ( https://github.com/goessner/markdown-it-texmath/issues/31 ) ). Thanks to [ arwedus] ( https://github.com/arwedus ) .
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ texmath.rules = {
309
309
dollars : {
310
310
inline : [
311
311
{ name : 'math_inline_double' ,
312
- rex : / \$ { 2 } ( . + ? ) \$ { 2 } / gy,
312
+ rex : / \$ { 2 } ( [ ^ ] * ? ) [ ^ \\ ] \$ { 2 } / gy,
313
313
tmpl : '<section><eqn>$1</eqn></section>' ,
314
314
tag : '$$' ,
315
315
displayMode : true ,
You can’t perform that action at this time.
0 commit comments