markugen
Version:
Markdown to HTML/PDF static site generation tool
13 lines (12 loc) • 362 B
TypeScript
import { MarkedExtension } from 'marked';
import HtmlGenerator from '../htmlgenerator';
export interface Options {
generator: HtmlGenerator;
file?: string;
}
/**
* Extension for allowing execution of markugen commands
* within code blocks.
* @returns the marked extension
*/
export default function markedCommands(options: Options): MarkedExtension;