diff options
author | Zian Chi <zianchi@outlook.com> | 2018-08-31 02:00:39 +0300 |
---|---|---|
committer | Zian Chi <zianchi@outlook.com> | 2018-08-31 02:00:39 +0300 |
commit | 492d19adc8769cd28d472caec04791ea1ce05659 (patch) | |
tree | 33903a2b2d27b55590761af8045bf1b16adca271 | |
parent | 73beb6f994877d17c17d3de3d315e28b423ec650 (diff) |
change single dollar signs to \( and \) for KaTeX
-rw-r--r-- | exampleSite/content/post/2018-08-30-markdown-guide.md | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/exampleSite/content/post/2018-08-30-markdown-guide.md b/exampleSite/content/post/2018-08-30-markdown-guide.md index d8e0b79..d0e26f3 100644 --- a/exampleSite/content/post/2018-08-30-markdown-guide.md +++ b/exampleSite/content/post/2018-08-30-markdown-guide.md @@ -141,8 +141,9 @@ and images can be specified like so: ![example image](https://github.com/goodroot/hugo-classic/raw/master/images/partywizard.gif "An exemplary image") -Inline math equations go in like so: $\omega = d\phi / dt$. Display -math should get its own line and be put in in double-dollarsigns: +Inline math equations go in like so: \\(\omega = d\phi / dt\\). +Display math should get its own line and be put in in +double-dollarsigns: $$I = \int \rho R^{2} dV$$ @@ -151,14 +152,4 @@ which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc. #### Images auto center: -![Party](http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185)$. Display -math should get its own line and be put in in double-dollarsigns: - -$$I = \int \rho R^{2} dV$$ - -And note that you can backslash-escape any punctuation characters -which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc. - -#### Images auto center: - -![Party](http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185) +![Party](http://emojis.slackmojis.com/emojis/images/1475875185/1223/party-dinosaur.gif?1475875185)
\ No newline at end of file |