diff options
author | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2016-02-25 15:22:10 +0300 |
---|---|---|
committer | digitalcraftsman <digitalcraftsman@users.noreply.github.com> | 2016-02-25 15:22:10 +0300 |
commit | 87d8b91b87f7e85d4a9bef48181579299a3a422f (patch) | |
tree | 712fd8f6e19bf71e4aebba8cc404d94165dfe249 /exampleSite | |
parent | 89b1432868f94a554238c8ff03f4b1042970f14d (diff) |
Update docs about formula rendering
Fixes #26.
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/post/introducing-icarus-and-its-features.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/exampleSite/content/post/introducing-icarus-and-its-features.md b/exampleSite/content/post/introducing-icarus-and-its-features.md index f19a30b..8fdba68 100644 --- a/exampleSite/content/post/introducing-icarus-and-its-features.md +++ b/exampleSite/content/post/introducing-icarus-and-its-features.md @@ -107,11 +107,13 @@ This way you can store them either next to the content file or in the `static` f ## Mathematical equations -In case you need to display equations you can insert your LaTeX or MathML code and it works out of the box thanks to [MathJax](https://www.mathjax.org). +Mathematical equations in form of LaTeX or MathML code can be rendered with the support of [MathJax](https://www.mathjax.org). MathML works out of the box. If you're using LaTeX you need to wrap your equation with `$$` as shown in the following example: - \[ z = r \cdot (\sin{\phi} + \cos{\phi} \cdot i) \] + $$ z = r \cdot (\sin{\phi} + \cos{\phi} \cdot i) $$ -\[ z = r \cdot (\sin{\phi} + \cos{\phi} \cdot i) \] +$$ z = r \cdot (\sin{\phi} + \cos{\phi} \cdot i) $$ + +You can also print formulas inline: $a^2 + b^2 = c^2$. In this case wrap the formula only once with `$`. ## Shortcodes |