About plugins

Lume has a plugin system that allows to extend its functionality with new features and support for more formats. Some of these plugins are enabled by default, others need to be enabled in the _config.js file.

To enable a plugin, just import the plugin module and use the use() function. For example:

import lume from "lume/mod.ts";
import jsx from "lume/plugins/jsx.ts";

const site = lume();

// Enable the JSX plugin

export default site;