Documentation
¶
Overview ¶
Package assets exposes the embedded vendor JS/CSS (paged.js, KaTeX) and the preview UI files (HTML/CSS/JS) as filesystems. Everything callers need to serve the preview or inject into print HTML lives here.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Vendor ¶
Vendor returns a filesystem rooted at the vendor directory (so paths like "paged.polyfill.min.js" and "katex/katex.min.css" work directly).
func VendorBytes ¶
VendorBytes reads a single file out of the embedded vendor tree. Useful when the print pipeline needs to inline the paged.js polyfill into a generated HTML file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.