package d2latex
Import Path
github.com/pancsta/d2/d2renderers/d2latex (on go.dev)
Dependency Relation
imports 4 packages, and imported by 3 packages
Package-Level Functions (total 3)
ValidateInput applies D2's resource limits to a LaTeX label. Render and
Measure both call it so compiler, WASM, and raw render-target paths share
the same admission policy.
Package-Level Constants (total 2)
MaxGroupNestingDepth prevents deeply nested TeX groups from exhausting
the Go stack in mathjax-go's recursive group parser.
MaxInputBytes bounds the work and output that a single LaTeX label can
cause in the embedded MathJax renderer.
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |