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

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import prism from "../plugins/prism.ts";import "npm:prismjs@1.29.0/components/prism-less.js";
Deno.test("Prism plugin", async (t) => { const site = getSite({ src: "prism", });
site.use(prism());
await build(site); await assertSiteSnapshot(t, site);});
lume

Version Info

Tagged at
7 months ago