Module

x/lume/plugins/code_highlight.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface Options
import { type Options } from "https://dotland.deno.dev/x/lume@v2.4.2/plugins/code_highlight.ts";

Properties

optional
extensions: string[]

The list of extensions this plugin applies to

optional
languages: Record<string, LanguageFn>

Register languages on the Highlight.js context.

optional
options: Partial<Omit<HLJSOptions, "__emitter">>

Options passed to highlight.js.

optional
theme: Theme | Theme[]

The theme or themes to download