<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>MathJax on liyuchuang</title>
    <link>/tags/mathjax/</link>
    <description>Recent content in MathJax on liyuchuang</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 18 Mar 2018 12:13:32 +0530</lastBuildDate><atom:link href="/tags/mathjax/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Math Type Setting</title>
      <link>/posts/post-3/</link>
      <pubDate>Sun, 18 Mar 2018 12:13:32 +0530</pubDate>
      
      <guid>/posts/post-3/</guid>
      <description>Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
In this example we will be using KaTeX
Create a partial under /layouts/partials/math.html Within this partial reference the Auto-render Extension or host these scripts locally. Include the partial in your templates like so: {{ if or .Params.math .Site.Params.math }} {{ partial &amp;#34;math.html&amp;#34; . }} {{ end }} To enable KaTex globally set the parameter math to true in a project&amp;rsquo;s configuration To enable KaTex on a per page basis include the parameter math: true in content files Note: Use the online reference of Supported TeX Functions</description>
    </item>
    
  </channel>
</rss>
