Skip to content

Commit 427ddba

Browse files
committed
Version 0.9.5
1 parent d938ef6 commit 427ddba

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "markdown-it-texmath",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "markdown-it extension for rendering TeX Math",
55
"keywords": [
66
"TeX",

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ Use following links for `texmath.js` and `texmath.css`
123123
But if someone wants to help here out, pull requests are always welcome.
124124

125125
## CHANGELOG
126+
### [0.9.5] on November 12, 2021
127+
* More Optimization done with the 'dollars' regexes.
126128
### [0.9.4] on November 12, 2021
127129
* Optimizing the 'dollars' regexes. Thanks to [Erik Demaine](https://github.com/edemaine).
128130
* Adding 'doxygen' delimiters support. ([#31](https://github.com/goessner/markdown-it-texmath/issues/31)). Thanks to [arwedus](https://github.com/arwedus).

texmath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ texmath.rules = {
309309
dollars: {
310310
inline: [
311311
{ name: 'math_inline_double',
312-
rex: /\${2}(.+?)\${2}/gy,
312+
rex: /\${2}([^]*?)[^\\]\${2}/gy,
313313
tmpl: '<section><eqn>$1</eqn></section>',
314314
tag: '$$',
315315
displayMode: true,

0 commit comments

Comments
 (0)