You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ This extension is a comfortable tool for scientists, engineers and students with
16
16
* Inline math with tables, lists and blockquote.
17
17
* User setting delimiters:
18
18
*`'dollars'` (default)
19
-
* inline: `$...$`
19
+
* inline: `$...$` or `$$...$$`
20
20
* display: `$$...$$`
21
21
* display + equation number: `$$...$$ (1)`
22
22
*`'brackets'`
@@ -35,10 +35,6 @@ This extension is a comfortable tool for scientists, engineers and students with
35
35
* inline: ``$$...$$``
36
36
* display: `$$...$$`
37
37
* display + equation number: `$$...$$ (1)`
38
-
*`'pandoc'`
39
-
* inline: `$...$` or `$$...$$`
40
-
* display: `$$...$$`
41
-
* display + equation number: `$$...$$ (1)`
42
38
43
39
## Show me
44
40
@@ -107,7 +103,11 @@ Use following links for `texmath.js` and `texmath.css`
107
103
108
104
## FAQ
109
105
110
-
* Display math inside of `blockquote` blocks is able to span multiple lines with version "0.6.8". Every single display math line **must** begin with a `>` character then, as in
106
+
*__Support of inline syntax of display math ?__
107
+
* Inline syntax of display math with `dollars` mode is supported starting from version "0.7.0". So `'This formula $$a+b=c$$ will result in display math presentation'`, i.e. gets displayed on a separate line. For *true* inline math use `$..$` mode like before.
108
+
109
+
*__Multiline diplay math in `blockquote` block possible ?__
110
+
* Display math inside of `blockquote` blocks is able to span multiple lines with version "0.6.8". Every single display math line **must** begin with a `>` character then, as in
111
111
```
112
112
> $$ a +
113
113
> b
@@ -118,13 +118,19 @@ Use following links for `texmath.js` and `texmath.css`
118
118
*__`markdown-it-texmath` with React Native does not work, why ?__
119
119
*`markdown-it-texmath` is using regular expressions with `y`[(sticky) property](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/sticky) and cannot avoid this. The use of the `y` flag in regular expressions means the plugin is not compatible with React Native (which as of now doesn't support it and throws an error `Invalid flags supplied to RegExp constructor`).
120
120
121
-
*__Why doesn't `markdown-it-texmath` work with mathjax ?__
122
-
*`markdown-it-texmath` is a personal project of mine. As it does very well what I want it to do, I offer it to the public as an open source plugin. I do not have time or interest to integrate other math engines.
121
+
*__Why doesn't `markdown-it-texmath` work with other engines ?__
122
+
*`markdown-it-texmath` is a personal project of mine. As it does very well with KaTeX what I want it to do, I offer it to the public as an open source plugin. I do not have time or interest to integrate other math engines.
123
123
But if someone wants to help here out, pull requests are always welcome.
124
124
125
125
126
126
## CHANGELOG
127
127
128
+
### [0.7.0] on June 14, 2020
129
+
* Experimental `pandoc` mode removed. Enhanced `dollars` mode now does, what `pandoc` mode was requiring.
130
+
* With `dollars` mode inline math expression `$$..$$` will result in display math presentation now. Adding equation numbers `$$..$$(1)` is not supported in inline syntax.
131
+
* Significant code redesign and regular expression optimization results in more compact code and performance gain ... not measured though.
132
+
* Bug with display math inside of `blockquote` blocks removed.
133
+
128
134
### [0.6.9] on June 11, 2020
129
135
* Now display math inside of `blockquote` blocks can span multiple lines, provided that every line starts with a `>` character.
130
136
* Possible cause of [blockquote bug(https://github.com/goessner/mdmath/issues/50)] presumably eliminated.
0 commit comments