From 9cb99c0ec7602e97a20f8d58a87375598f4ac406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Tue, 25 Oct 2022 19:55:53 +0100 Subject: [PATCH] added katex shortcode example --- exampleSite/content/samples/mathematical-notation.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/samples/mathematical-notation.md b/exampleSite/content/samples/mathematical-notation.md index f4cd137a..d5903165 100755 --- a/exampleSite/content/samples/mathematical-notation.md +++ b/exampleSite/content/samples/mathematical-notation.md @@ -11,9 +11,12 @@ KaTeX can be used to render mathematical notation within articles. {{< katex >}} -Blowfish will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Any KaTeX syntax on that page will then be automatically rendered. +Blowfish will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Example below: -Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax. +```md +{{}} +``` +Any KaTeX syntax on that page will then be automatically rendered. Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax. ## Inline notation