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

code_highlight.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import codeHighlight from "../plugins/code_highlight.ts";
Deno.test("code_hightlight plugin", async (t) => { const site = getSite({ src: "code_highlight", });
site.use(codeHighlight());
await build(site); await assertSiteSnapshot(t, site);});
lume

Version Info

Tagged at
7 months ago