Comments (1)
I looked into this a bit more and I added the lines below in the layout/docs/git-footer.html. It's a solution combining the link I sent in the previous comment and the code from https://github.com/yihui/hugo-lithium/blob/master/layouts/partials/footer_mathjax.html
Not sure if it is the best solution, but it did the trick.
{{ if and (not .Params.disable_mathjax) (or (in (string .Content) "\\") (in (string .Content) "$")) }}
<script src="//yihui.name/js/math-code.js"></script>
<script async src="//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
{{ end }}
from hugo-book.
Related Issues (20)
- Documentation for Menu
- Installation HOT 1
- README: broken Link HOT 1
- Only show search when JS is enabled HOT 3
- Use null alt text for "minor forms of clipart"? HOT 1
- Set the default value of BookTheme to auto? HOT 2
- Error: "no mixin named theme-light" HOT 1
- Headless branch bundles not rendering in menu in Hugo >0.123.5 HOT 3
- Is there a way to have the homepage (/landing page) in left menu (/book ToC) with subsections? HOT 2
- Main Markdown heading (level 1: #) not in page ToC (right hand side menu) HOT 2
- links in shortcodes 'columns' do not work HOT 4
- change formatting of markdown heading HOT 5
- Would consider doing an 11ty version?
- markup highlight not work HOT 1
- Curious to know how to control the part of each blog that will display in the homepage of posts HOT 3
- Title and date of posts are not shown HOT 1
- Any experience about using Giscus comment in the hugo-book theme? HOT 2
- Adding copy to clipboard support for highlight code blocks HOT 2
- Pager for post collections and archives
- numbered plugin ignores chapters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugo-book.