Communities

(DEV) Codidact Meta
(DEV) Codidact Meta
(DEV) Writing
(DEV) Writing
Proposals
Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

50%
+0 −0
Q&A Lorem ipsum dolor sit amet

Testing dollar signs and MathJax. MathJax block: $$a^2+b^2=c^2$$ MathJax block: $$a^2+b^2=c^2$$MathJax $N^2$ inline in a sentence. MathJax $N^2$ inline in a sentence. Describing a dolla...

posted 1y ago by trichoplax‭

Answer
#1: Initial revision by user avatar trichoplax‭ · 2023-08-06T13:41:13Z (over 1 year ago)
# Testing dollar signs and MathJax.

```text
MathJax block:

$$a^2+b^2=c^2$$
```

MathJax block:

$$a^2+b^2=c^2$$

```text
MathJax $N^2$ inline in a sentence.
```

MathJax $N^2$ inline in a sentence.

```text
Describing a dollar amount $200 without accidentally invoking MathJax.
```

Describing a dollar amount $200 without accidentally invoking MathJax.

```text
Describing two dollar amounts $400 and $600 accidentally invokes MathJax.
```

Describing two dollar amounts $400 and $600 accidentally invokes MathJax.

```text
Invocation suppressed with a double backslash before the first dollar sign \\$400 and $600.
```

Invocation suppressed with a double backslash before the first dollar sign \\$400 and $600.

```text
Describing three dollar amounts \\$400 and \$600 and $800 requires double backslash before the first, single backslash before the second, and nothing for the third.
```

Describing three dollar amounts \\$400 and \$600 and $800 requires double backslash before the first, single backslash before the second, and nothing for the third.

```text
Describing four dollar amounts \\$400 and \$600 and \\$800 and $1000 requires double then single then double then none.
```

Describing four dollar amounts \\$400 and \$600 and \\$800 and $1000 requires double then single then double then none.