Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume_shiki/types.ts>CommonOptions

Syntax highlighter for Lume using shiki
Latest
interface CommonOptions
implements Omit<CreateThemedVariablesOptions, "color">
import { type CommonOptions } from "https://deno.land/x/lume_shiki@0.0.16/types.ts";

Properties

optional
extensions: string[]

The list of extensions this plugin applies to

optional
cssFile: string | false

Set the css filename for all generated styles, Set to false to insert a style tag per page. Do not forget to import the CSS file in your HTML document

Highlighter options to configure theme and languages to load

optional
extraCSS: string

Inject extra CSS

optional
transformers: ShikiTransformer[]

Transform the generated HAST tree.