connect-fonts-katex
v1.0.0
Published
Fira Mono fontpack for [connect-fonts](https://github.com/shane-tomlinson/connect-fonts).
Downloads
9
Readme
connect-fonts-katex
Katex fontpack for connect-fonts.
Usage
- Include connect-fonts in a node module.
const font_middleware = require("connect-fonts");
- Include the font packs that you want to serve.
const font_pack = require("connect-fonts-katex");
- Add a middleware by calling the
setup
function.
app.use(font_middleware.setup({
fonts: [ font_pack ],
allow_origin: "https://exampledomain.com"
}));