Comments (2)
Done, works! Thanks.
from franklin.jl.
What I did:
- get a latest bundle that has LaTeX in it using this webpage: https://highlightjs.org/download/ ; put the
languages/
folder andhighlight.min.js
inlibs/highlight/
- in the page foot modify the call to highlight to
<script src="/libs/highlight/highlight.min.js"></script>
<script>hljs.highlightAll();</script>
(for me this was in _layout/foot_highlight.html
)
result:
PS: you'll likely want to disable pre-rendering as that might not work with the latest version of highlight (I haven't tried but in any case the pre-rendering stuff in Franklin will be deprecated)
from franklin.jl.
Related Issues (20)
- Pagevars are not parsed correctly ? HOT 4
- Build site in another folder? HOT 4
- XML prolog lost from RSS template HOT 2
- \toc error HOT 7
- Tag pages don't urlencode their crosslinks
- FR: Button to copy code blocks to clipboard HOT 2
- May insert variable value into a HTML tag attribute? HOT 2
- Does Franklin support Pandoc and MathJax HOT 4
- Deploying with github not working after first commit, getting "there is nothing to commit"
- Option to exclude sidebar contents in lunr search
- Using `python3` as the language of a multiline codeblock results in an error HOT 2
- Demos page leads to 404 HOT 6
- insert not working when using the GitHub actions HOT 1
- Table of contents: level 4 headings do not consistently stay indented under the previous level 3 heading HOT 1
- DataScienceTutorials.jl deployment HOT 1
- Pagevariables not always available? HOT 8
- How to add total words and time for reading in a post HOT 1
- Franklin websites fail to being parsed by openring
- Demos Page Shows 404 Error HOT 1
- How to modify footnote styling
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 franklin.jl.