KaTeX / KaTeX/KaTeX

TikzJax Support

Open
#4,016 1 comment 11 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
20.4k
Forks
1.3k
Avg merge
14h 37m
Merged PRs (30d)
7

Description

TikZJax converts script tags (containing TikZ code) into SVGs.Therefore, we do not need to refactor tikz, we only need to support tikzjax so that everyone can use various plugins (such as chemfig, which is essential for organic chemistry)

There is also a project called Node-TikZJax
--A port of TikZJax runs on pure Node.js and WebAssembly.
Node-TikZJax lets you render LaTeX and TikZ diagrams to SVG images without the need to install LaTeX toolchain to the environment. You can render graphs, figures, circuits, chemical diagrams, commutative diagrams, and more.

In conclusion, support for tikz is very important and many people need it.

Contributor guide

Open the contributing guide

Research direction

The issue names TikZJax script tags and Node-TikZJax, but no KaTeX files, tests, or entry point. Compare those integration paths first, then define the supported TikZJax behavior and tests that demonstrate SVG output and compatibility with plugins such as chemfig.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, node.js, wasm
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.