Comments (5)
Hi, thanks for the suggestion.
So far it is not supported. For me as a non-expert regarding Node.js, the documentation provided by KaTeX was not sufficient to consider it.
Are you able to create a pull request for it?
from sphinxcontrib-katex.
I'd have to look into it. What I expect to happen is that we invoke KaTeX via nodejs, it gives a bunch of html, and then we need to dump it into the Sphinx generated HTML. So, shouldn't be too bad, if this extension is setup to inject raw html (which it should be?)
from sphinxcontrib-katex.
yes, it injects HTML, compare
sphinxcontrib-katex/sphinxcontrib/katex.py
Lines 77 to 102 in ba0db20
from sphinxcontrib-katex.
This ended up being pretty easy. I'll post a shitty version of the patch (that breaks some existing functionality and is not configurable) and maybe we can talk about how to support the other bits correctly.
from sphinxcontrib-katex.
KaTeX server side pre-rendering is included with sphinxcontrib-katex 0.5.0.
from sphinxcontrib-katex.
Related Issues (14)
- PR to sphinx? HOT 2
- No render equations with nbsphinx HOT 5
- [bug] compatibility for windows 10 HOT 3
- Math delimiter option HOT 1
- Gitlab math markdown rendered in sphinx HOT 6
- Speed up pre-rendering? HOT 10
- Error with Sphinx 4.0.0b1 HOT 1
- Configuration of delimiters HOT 2
- Compatibility with Sphinx 4.0? HOT 2
- Support macros when prerendering HOT 1
- Configuration error with Sphinx 5.0.0 or later HOT 7
- Add a script for updating the KaTeX version HOT 1
- Question about docs directory installation.
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 sphinxcontrib-katex.