UNPKG

markugen

Version:

Markdown to HTML/PDF static site generation tool

17 lines (16 loc) 505 B
import { MarkedExtension } from 'marked'; export type Properties = Record<string, string>; export interface Options { title?: string; style?: string; script?: string; css?: string | string[]; js?: string | string[]; link?: Properties | Properties[]; } /** * Extension for wrapping marked html in an html document * @param options the options to use for the document * @returns the marked extension */ export default function markedDocument(options?: Options): MarkedExtension;