Skip to main content
Module

x/lume/tests/katex.test.ts

πŸ”₯ Static site generator for Deno πŸ¦•
Very Popular
Go to Latest
File
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import katex from "../plugins/katex.ts";
Deno.test("Katex plugin", async (t) => { const site = getSite({ src: "katex", });
site.use(katex({ options: { macros: { "\\f": "#1f(#2)", }, }, }));
await build(site); await assertSiteSnapshot(t, site);});