Skip to content
Permalink
Browse files

localkatex: Raw shortcode display in README

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
Kwpolska committed Sep 19, 2017
1 parent 93ea09a commit 546de1ed2251f63e8245979a319bf4b3973ec962
Showing with 4 additions and 4 deletions.
  1. +4 −4 v7/localkatex/README.md
@@ -13,15 +13,15 @@ You may also edit `math_helper.tmpl` to remove the KaTeX JavaScript includes

Inline:

Euler’s formula: {{% lmath %}}e^{ix} = \cos x + i\sin x{{% /lmath %}}
Euler’s formula: {{% raw %}}{{% lmath %}}e^{ix} = \cos x + i\sin x{{% /lmath %}}{{% /raw %}}

Display:

{{% lmath display=true %}}\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C{{% /lmath %}}
{{% lmathd %}}\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C{{% /lmathd %}}
{{% raw %}}{{% lmath display=true %}}\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C{{% /lmath %}}{{% /raw %}}
{{% raw %}}{{% lmathd %}}\int \frac{dx}{1+ax}=\frac{1}{a}\ln(1+ax)+C{{% /lmathd %}}{{% /raw %}}

Alternate name:

{{% localkatex %}}e^{ix} = \cos x + i\sin x{{% /localkatex %}}
{{% raw %}}{{% localkatex %}}e^{ix} = \cos x + i\sin x{{% /localkatex %}}{{% /raw %}}

The following options are supported: `displayMode`, `display` (alias), `throwOnError`, `errorColor`, `colorIsTextColor` — see [KaTeX docs](https://github.com/Khan/KaTeX#rendering-options) for details.

0 comments on commit 546de1e

Please sign in to comment.
You can’t perform that action at this time.