Skip to content

Commit

Permalink
localkatex: Raw shortcode display in README
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Sep 19, 2017
1 parent 93ea09a commit 546de1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions v7/localkatex/README.md
Expand Up @@ -13,15 +13,15 @@ You may also edit `math_helper.tmpl` to remove the KaTeX JavaScript includes


Inline: 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: Display:


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


Alternate name: 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. 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.