] left = "$$" right = "$$" display = true ] left = "$" right = "$" display = false ] left = "\\(" right = "\\)" display = false ] left = "\\' display = true # display: Whether math in the expression should be rendered in display mode. # right: A string which ends the math expression (i.e. Each delimiter has three properties: # left: A string which starts the math expression (i.e. throwOnError = false errorColor = "#CD5C5C" # This is a list of delimiters to look for math, processed in the same order as # the list.
If false, KaTeX will render unsupported # commands as text, and render invalid LaTeX as its source code with hover text # giving the error, in the color given by errorColor. Default: document.body html_dom_element = "document.body" # If true (the default), KaTeX will throw a ParseError when it encounters an # unsupported command or invalid LaTeX. # enable/disable KaTeX support enable = true # Element(s) scanned by auto render extension. The following code sample produces a text line with three inline formulae: Formulae can be shown either inline or in display mode: Inline formulae Since \(\KaTeX\) relies on server side rendering, it produces the same output regardless of your browser or your environment. With \(\KaTeX\) support enabled in Docsy, you can include complex mathematical formulae into your web page, either inline or centred on its own line. Fortunately, with \(\KaTeX\) there exists a fast and easy-to-use JavaScript library for \(\TeX\) math rendering on the web, which was integrated into the Docsy theme.
Dating back that far, \(\LaTeX\) has pdf as its primary output target and is not particularly well suited for producing HTML output for the Web. Designed and mostly written by Donald Knuth, the initial version was released in 1978. Due to its excellent math typesetting capabilities, \(\TeX\) became the de facto standard for the communication and publication of scientific documents, especially if these documents contain a lot of mathematical formulae. \(\LaTeX\) is a high-quality typesetting system for the production of technical and scientific documentation. Add generated diagrams and scientific formulae to your site.ĭocsy has built-in support for a number of diagram creation and typesetting tools you can use to add rich content to your site, including \(\KaTeX\), Mermaid,, PlantUML, and MarkMap.