File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,10 @@ If you turn this off, you can still use two or more dollars for text math.
139
139
## Syntax
140
140
141
141
This plugin applies a micromark extensions to parse the syntax.
142
- That basically follows how code works in markdown, except that dollars (` $ ` )
143
- are used instead of backticks (`` ` `` ), and that two dollars instead of 3 is
144
- enough for blocks.
142
+ The syntax basically follows how code works in markdown, except that dollars (` $ ` )
143
+ are used instead of backticks (`` ` `` ) and that 2 or more dollars instead of 3
144
+ or more backticks is enough for blocks.
145
+
145
146
See its readme for parse details:
146
147
147
148
* [ ` micromark-extension-math ` ] ( https://github.com/micromark/micromark-extension-math#syntax )
@@ -150,6 +151,17 @@ See its readme for parse details:
150
151
> That means escapes don’t work inside math but you can use more dollars around
151
152
> the math instead: ` $$\raisebox{0.25em}{$\frac a b$}$$ `
152
153
154
+ > 👉 ** Note** : Like code, the difference between “inline” and “block”,
155
+ > is in the line endings:
156
+ >
157
+ > ``` markdown
158
+ > $$inline$$
159
+ >
160
+ > $$
161
+ > block
162
+ > $$
163
+ > ```
164
+
153
165
## HTML
154
166
155
167
This plugin integrates with [`remark-rehype`][remark-rehype].
You can’t perform that action at this time.
0 commit comments