deno.land / x / lume@v2.1.4 / tests / assets / mdx / mdx-filter.page.ts

mdx-filter.page.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import "../../../types.ts";
export const title = "mdx filter example";export default async (data: Lume.Data, { mdx }: Lume.Helpers) => await mdx( `---title: Hello worlddescription: This is a description---import Image from "./_includes/Image.tsx";
<comp.Header title={title} description={description}/>
## Hello world This is a markdown file with the title **{ title }**. <Image alt="foo" /> `, { ...data, title: "Hello world", description: "This is a description", }, );
lume

Version Info

Tagged at
7 months ago