Skip to content

Commit 42dfd84

Browse files
Update README.md
Clarified whitespace requirements for inline Math in LaTeX.
1 parent 3aae520 commit 42dfd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Then you can use the LaTeX syntax in the article.
5656

5757
### Renderer
5858

59-
[hexo-renderer-pandoc](https://github.com/wzpan/hexo-renderer-pandoc) is recommended because it can handle mathematical formulas in markdown documents perfectly. But you need to be aware that inline Math (..`$...$`) must not have white spaces **after the opening `$` and before the ending `$`**. For example:
59+
[hexo-renderer-pandoc](https://github.com/wzpan/hexo-renderer-pandoc) is recommended because it can handle mathematical formulas in markdown documents perfectly. But you need to be aware that for some specific versions of Pandoc, you may need to **add or remove** whitespace **after the opening `$` and before the closing `$`** for formulas to render correctly. Therefore, if the rendering is incorrect, please try adjusting the syntax. For example:
6060
```diff
6161
-$ \epsilon_0 $
6262
+$\epsilon_0$

0 commit comments

Comments
 (0)