Files
test-repo/changelog_unreleased/markdown/pr-7938.md
T
fisker CheungandGeorgii Dolzhykov 35a1497024 Update remark-math to v3 (#7938)
* bump remark-math to 3.0.1

* escape $ only it was escaped in the input

* remove unsupported syntax from tests

remark-math@3 doesn't support text after the closing fence ($$). Such $$ aren't parsed as a closing fence anymore.

* refactor

* add a test

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-11-15 19:03:35 +02:00

20 lines
522 B
Markdown

#### Update remark-math to 3.0.1; escape dollar signs only if originally escaped (#7938 by @fisker and @thorn0)
<!-- prettier-ignore -->
```markdown
<!-- Input -->
Paragraph with $14 million.
Paragraph with $14 million. But if more $dollars on the same line...
<!-- Prettier stable -->
Paragraph with \$14 million.
Paragraph with $14 million. But if more $dollars on the same line...
<!-- Prettier master -->
Paragraph with $14 million.
Paragraph with $14 million. But if more $dollars on the same line...
```