Skip to content

Update Text To Show Intent. #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions test/fixtures/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $$$
1+1 = 2
$$$
.
<math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math>
<p><math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math></p>
.


Expand Down Expand Up @@ -42,16 +42,18 @@ foo$$1+1 = 2$$bar
.


Paragraph breaks are unnecessary before and after display math
Paragraph breaks are necessary before and after display math
.
foo

$$$
x + y
$$$

bar
.
<p>foo</p>
<math display="block"><mi>x</mi><mo>+</mo><mi>y</mi></math>
<p><math display="block"><mi>x</mi><mo>+</mo><mi>y</mi></math></p>
<p>bar</p>
.

Expand Down Expand Up @@ -86,16 +88,12 @@ foo $$1 *i* 1$$ bar
Display math with apparent markup
.
foo

$$$
1 *i* 1
$$$

bar
.
<p>foo</p>
<math display="block"><mn>1</mn><mo>·</mo><mi>i</mi><mo>·</mo><mn>1</mn></math>
<p>bar</p>
<p>foo<math display="block"><mn>1</mn><mo>·</mo><mi>i</mi><mo>·</mo><mn>1</mn></math>bar</p>
.


Expand All @@ -105,7 +103,7 @@ Block math can be indented up to 3 spaces
1+1 = 2
$$$
.
<math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math>
<p><math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math></p>
.


Expand Down Expand Up @@ -142,7 +140,7 @@ $$$

$$$
.
<math display="block"><mn>1</mn><mo>+</mo><mn>1</mn><mo>=</mo><mn>2</mn></math>
<p><math display="block"><mn>1</mn><mo>+</mo><mn>1</mn><mo>=</mo><mn>2</mn></math></p>
.


Expand All @@ -157,7 +155,7 @@ $$$
= 3
$$$
.
<math display="block"><mn>1</mn><mo>+</mo><mn>1</mn><mo>+</mo><mn>1</mn><mo>=</mo><mn>3</mn></math>
<p><math display="block"><mn>1</mn><mo>+</mo><mn>1</mn><mo>+</mo><mn>1</mn><mo>=</mo><mn>3</mn></math></p>
.


Expand All @@ -174,7 +172,7 @@ Display math self-closes at the end of document
$$$
1+1 = 2
.
<math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math>
<p><math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math></p>
.


Expand All @@ -198,7 +196,7 @@ Display math can be written in one line
.
$$$1+1 = 2$$$
.
<math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math>
<p><math display="block"><mrow><mn>1</mn><mo>+</mo><mn>1</mn></mrow><mo>=</mo><mn>2</mn></math></p>
.


Expand All @@ -209,7 +207,7 @@ $$$[
[3, 4]
]$$$
.
<math display="block"><mfenced open="[" close="]"><mtable><mtr></mtr><mtr><mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd></mtr><mtr><mtd><mn>3</mn></mtd><mtd><mn>4</mn></mtd></mtr><mtr></mtr></mtable></mfenced></math>
<p><math display="block"><mfenced open="[" close="]"><mtable><mtr></mtr><mtr><mtd><mn>1</mn></mtd><mtd><mn>2</mn></mtd></mtr><mtr><mtd><mn>3</mn></mtd><mtd><mn>4</mn></mtd></mtr><mtr></mtr></mtable></mfenced></math></p>
.


Expand Down