deno.land / x / lume@v2.1.4 / tests / katex.test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);});
lume

Version Info

Tagged at
7 months ago