tikzjax
obsidian-latex-environments
Our great sponsors
tikzjax | obsidian-latex-environments | |
---|---|---|
2 | 1 | |
412 | 58 | |
- | - | |
0.0 | 5.8 | |
over 1 year ago | 6 months ago | |
JavaScript | TypeScript | |
LaTeX Project Public License v1.2 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tikzjax
-
Ask HN: PST-plot for the web? (LaTeX's declarative SVG plot generation)
Do you want the TeX code to be converted to svg in the browser at rendering time or are you ok with converting the figures to svg beforehand and including them in your html files?
For the former I would look at TikZjaX (https://github.com/kisonecat/tikzjax) which takes tikz code and convert it to svg on the fly, just like MathJaX converting TeX equations. It may be slow, though, especially for complicated plots.
If you are OK with creating the figures beforehand and serving the generated svg, there are several options: Asymptote (https://asymptote.sourceforge.io/) can generate svg and even html files that you can embed in an iframe. You can convert any TeX figure to svg with dvisvgm (play with the --font-format option).
-
Using Obsidian for mathematical knowledge base
This was my first thought, but the last comment in that page linked above is promising. Someone has the real tikz running in the web browser, rendering to svg: https://github.com/kisonecat/tikzjax It might a simple matter of translating tikz-fenced code blocks to the appropriate script tag and letting that script do its thing.
obsidian-latex-environments
-
Using Obsidian for mathematical knowledge base
You maybe referring to this plugin.
What are some alternatives?
MathJax - Beautiful and accessible math in all browsers
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown
obsidian-dataview - A data index and query language over Markdown files, for https://obsidian.md/.
Templater - A template plugin for obsidian
obsidian-git - Backup your Obsidian.md vault with git
Obsidian_to_Anki - Script to add flashcards from text/markdown files to Anki