Source File
latex_common.go
Belonging Package
github.com/pancsta/d2/d2renderers/d2latex
package d2lateximport (mathjax)func ( string) ( string, error) {if := ValidateInput(); != nil {return "",}defer xdefer.Errorf(&, "latex failed to parse")return mathjax.Render()}func ( string) (, int, error) {if := ValidateInput(); != nil {return 0, 0,}defer xdefer.Errorf(&, "latex failed to parse")return mathjax.Measure()}
![]() |
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. |