diff options
Diffstat (limited to 'themes/blowfish/exampleSite/content/samples/mathematical-notation')
4 files changed, 0 insertions, 201 deletions
diff --git a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.it.md b/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.it.md deleted file mode 100755 index f0590a0..0000000 --- a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.it.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: Mathematical notation -date: 2019-03-08 -description: A brief sample of mathematical notation in Blowfish. -tags: ["sample", "katex", "maths", "shortcodes"] -type: 'sample' ---- - -KaTeX can be used to render mathematical notation within articles. - -<!--more--> - -{{< 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. Example below: - -```md -{{</* katex */>}} -``` -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 - -Inline notation can be generated by wrapping the expression in `\\(` and `\\)` delimiters. - -**Example:** - -```tex -% KaTeX inline notation -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) -``` - -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) - -## Block notation - -Alternatively, block notation can be generated using `$$` delimiters. This will output the expression in its own HTML block. - -**Example:** - -```tex -% KaTeX block notation -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ diff --git a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.ja.md b/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.ja.md deleted file mode 100755 index 6306546..0000000 --- a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.ja.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: 数学的記法 -date: 2019-03-08 -description: Blowfish での数学的記法の簡単なサンプル。 -tags: ["sample", "katex", "maths", "shortcodes"] -type: 'sample' ---- - -KaTeX は数学的記法を記事内にレンダリングする際に利用できます。 - -<!--more--> - -{{< katex >}} - -Blowfish は数学的記法を利用する場合のみ、 KaTeX アセットをプロジェクトにバンドルします。これを機能させるには、単に記事内に [`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}}) を含ませてください。以下が例です: - -```md -{{</* katex */>}} -``` -ページ上のすべての KaTeX 構文は自動的にレンダリングされます。 -利用可能な構文は[サポートしている TeX 機能](https://katex.org/docs/supported.html)のオンラインの文献を参照してください。 - -## インライン表記 - -インライン表記は `\\(` と `\\)` 記号で式を囲むことで生成できます。 - -**例:** - -```tex -% KaTeX インライン表記 -インライン表記: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) -``` - -インライン表記: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) - -## ブロック表記 - -または、ブロック表記は `$$` 記号を利用することで生成できます。これによって、式が独自の HTML ブロックに出力されます。 - -**例:** - -```tex -% KaTeX ブロック表記 -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ diff --git a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md b/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md deleted file mode 100755 index f0590a0..0000000 --- a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: Mathematical notation -date: 2019-03-08 -description: A brief sample of mathematical notation in Blowfish. -tags: ["sample", "katex", "maths", "shortcodes"] -type: 'sample' ---- - -KaTeX can be used to render mathematical notation within articles. - -<!--more--> - -{{< 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. Example below: - -```md -{{</* katex */>}} -``` -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 - -Inline notation can be generated by wrapping the expression in `\\(` and `\\)` delimiters. - -**Example:** - -```tex -% KaTeX inline notation -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) -``` - -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) - -## Block notation - -Alternatively, block notation can be generated using `$$` delimiters. This will output the expression in its own HTML block. - -**Example:** - -```tex -% KaTeX block notation -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ diff --git a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.zh-cn.md b/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.zh-cn.md deleted file mode 100755 index 5136bad..0000000 --- a/themes/blowfish/exampleSite/content/samples/mathematical-notation/index.zh-cn.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: 数学表达式 -date: 2019-03-08 -description: Blowfish 中数学表达式的简短示例。 -tags: ["示例", "katex", "数学", "简码"] -type: 'sample' ---- - -KaTeX 可用于在文章中呈现数学表达式。 - -<!--more--> - -{{< katex >}} - -如果您想要使用数学符号,Blowfish 会将 KaTeX 自动加入到您的项目中。只需在文章中包含 [`katex` 短代码]({{< ref "docs/shortcodes#katex" >}}) 即可。参考下面的例子: - -```md -{{</* katex */>}} -``` -该页面上的任何 KaTeX 语法都会自动渲染。使用[支持的 TeX 函数](https://katex.org/docs/supported.html) 的在线参考来获取可用语法。 - -## 内联表示法 - -可以通过将表达式包装在 `\\(` 和 `\\)` 分隔符中来生成内联表示法。 - -**例如:** - -```tex -% KaTeX inline notation -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) -``` - -Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) - -## 表达式块 - -可以使用 `$$` 分隔符生成表达式块。这将在其 HTML 块中输出表达式。 - -**例如:** - -```tex -% KaTeX block notation -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ -``` - -$$ - \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } -$$ |