README ¶ KaTex 依赖 KaTex 二进制文件,编译方式见 Dockerfile。 fonts 是直接从下载的 release 里面拷贝的,只保留 woff2 格式。 为了浏览器不报错,代码内会把 CSS 里面的非 woff2 全部去掉。 Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Math func New() *Math func (m *Math) Extend(md goldmark.Markdown) func (m *Math) TransformHtml(doc *goquery.Document) error type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Math ¶ type Math struct{} func New ¶ func New() *Math func (*Math) Extend ¶ func (m *Math) Extend(md goldmark.Markdown) func (*Math) TransformHtml ¶ func (m *Math) TransformHtml(doc *goquery.Document) error type Options ¶ type Options struct { Tex string `json:"tex"` DisplayMode bool `json:"displayMode"` } Source Files ¶ View all Source files math.go Click to show internal directories. Click to hide internal directories.