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
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/lume@v1.19.0/plugins/code_highlight.ts";

Properties

extensions: string[]

The list of extensions this plugin applies to

optional
languages: Record<string, LanguageFn>

Register languages on the Highlight.js context.

options: Omit<HLJSOptions, "__emitter">

Options passed to highlight.js.