From bf2d2bbede659322cb4ea2c096e7f663b2180beb Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 6 Apr 2017 10:49:11 -0600 Subject: [PATCH] =?UTF-8?q?Fix=20typo:=20"KaTex"=20=E2=86=92=20"KaTeX"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks for the good catch and keen eye @anthonyfok. Much appreciated! See PR rdwatters/hugo-docs-concept#66 --- content/content-management/formats.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/content-management/formats.md b/content/content-management/formats.md index aad516c47..bf182a542 100644 --- a/content/content-management/formats.md +++ b/content/content-management/formats.md @@ -4,7 +4,7 @@ linktitle: Formats description: Markdown is natively supported in Hugo and is parsed by the feature-rich and incredibly speed Blackfriday parse. Hugo also provides support for additional syntaxes (eg, Asciidoc) via external helpers. date: 2017-01-10 publishdate: 2017-01-10 -lastmod: 2017-04-02 +lastmod: 2017-04-06 categories: [content management] tags: [markdown,asciidoc,mmark,content format] menu: @@ -138,7 +138,7 @@ MathJax is a stable open-source library with many features. I encourage the inte {{% note %}} The following issues with Markdown assume you are using `.md` for content and BlackFriday for parsing. Using [Mmark](#mmark) as your content format will obviate the need for the following workarounds. -When using Mmark with MathJax, use `displayMath: [['$$','$$'], ['\\[','\\]']]`. See the [Mmark `README.md`](https://github.com/miekg/mmark/wiki/Syntax#math-blocks) for more information. In addition to MathJax, Mmark has been shown to work well with [KaTex](https://github.com/Khan/KaTeX). See this [related blog post from a Hugo user](http://nosubstance.me/post/a-great-toolset-for-static-blogging/). +When using Mmark with MathJax, use `displayMath: [['$$','$$'], ['\\[','\\]']]`. See the [Mmark `README.md`](https://github.com/miekg/mmark/wiki/Syntax#math-blocks) for more information. In addition to MathJax, Mmark has been shown to work well with [KaTeX](https://github.com/Khan/KaTeX). See this [related blog post from a Hugo user](http://nosubstance.me/post/a-great-toolset-for-static-blogging/). {{% /note %}} After enabling MathJax, any math entered between proper markers (see the [MathJax documentation][mathjaxdocs]) will be processed and typeset in the web page. One issue that comes up, however, with Markdown is that the underscore character (`_`) is interpreted by Markdown as a way to wrap text in `emph` blocks while LaTeX (MathJax) interprets the underscore as a way to create a subscript. This "double speak" of the underscore can result in some unexpected and unwanted behavior. @@ -245,4 +245,4 @@ Markdown syntax is simple enough to learn in a single sitting. The following are [Pygments]: http://pygments.org/ [rest]: http://docutils.sourceforge.net/rst.html [sc]: /content-management/shortcodes/ -[sct]: /templates/shortcode-templates/ \ No newline at end of file +[sct]: /templates/shortcode-templates/