-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This ensures LaTeX/MathJax blocks don't get mangled as seen in #14.
- Loading branch information
Showing
7 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
252.breaking.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Don't escape square brackets in math expressions | ||
|
||
The upgrade to [pulldown-cmark](https://crates.io/crates/pulldown-cmark) 0.11 (see Backwards-incompatible Changes) includes official support for LaTeX-style math expressions. | ||
With the markdown parser supporting this syntax natively, math expressions are now processed correctly without edge-cases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
14.fix.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
252.breaking.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
This sentence uses `$` delimiters to show math inline: $\sqrt{3x-1}+(1+x)^2$ | ||
|
||
This is the same math expression expressed as a block element: | ||
$$\sqrt{3x-1}+(1+x)^2$$ | ||
|
||
<!-- https://github.com/zoni/obsidian-export/issues/14 --> | ||
|
||
With square brackets (inline): $[0, 2\pi]$ | ||
|
||
With square brackets (block): | ||
$$[0, 2\pi]$$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
This sentence uses `$` delimiters to show math inline: $\sqrt{3x-1}+(1+x)^2$ | ||
|
||
This is the same math expression expressed as a block element: | ||
$$\sqrt{3x-1}+(1+x)^2$$ | ||
|
||
<!-- https://github.com/zoni/obsidian-export/issues/14 --> | ||
With square brackets (inline): $[0, 2\pi]$ | ||
|
||
With square brackets (block): | ||
$$[0, 2\pi]$$ |