deno.land / x / lume@v2.1.4 / tests / assets / mdx / mdx-filter.page.ts
123456789101112131415161718192021222324252627import "../../../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", }, );
Version Info