// NOTICE: This code is @generated from code outside the esm directory. Please do not edit it to contribute! import { Template, Plugin } from "../code-input.d.mts"; /** * A template that uses Prism.js syntax highlighting (https://prismjs.com/). */ export default class Prism extends Template { /** * Constructor to create a template that uses Prism.js syntax highlighting (https://prismjs.com/) * @param {Object} prism Import Prism.js, then after that import pass the `Prism` object as this parameter. * @param {Plugin[]} plugins - An array of plugin objects to add extra features - see `codeInput.plugins` * @param {boolean} preElementStyled - Defaults to true, which should be right for most themes. If the styling is broken, change to false. (See `Template` constructor's definition.) * @returns template object */ constructor(prism: Object, plugins?: Plugin[], preElementStyled?: boolean) }