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

x/lume/plugins/code_highlight.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Latest
interface Options
import { type Options } from "https://deno.land/x/lume@v2.4.1/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