Module

x/lume/plugins/code_highlight.ts

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