dionyphany

Math Typesetting

08 Mar 2019

Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.

Editor note Because this Dionyphany theme uses htmx, it provides shortcodes that include KaTeX scripts automatically in-context. No need to configure math in your page frontmatter or site configuration.

Examples

Math inline: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)

Block math: $$ \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } $$