UNPKG

typedoc-plugin-markdown

Version:

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.

31 lines (30 loc) 915 B
import { MarkdownThemeContext } from '../theme/index.js'; /** * Describes the hooks available to inject output in the markdown theme. */ export interface MarkdownRendererHooks { /** * Applied at the start of the markdown output. */ ['page.begin']: [MarkdownThemeContext]; /** * Applied at the end of the markdown output. */ ['page.end']: [MarkdownThemeContext]; /** * Applied at the start of the markdown output on the index page. */ ['index.page.begin']: [MarkdownThemeContext]; /** * Applied at the end of the markdown output on the index page. */ ['index.page.end']: [MarkdownThemeContext]; /** * Applied before the main markdown content is rendered. */ ['content.begin']: [MarkdownThemeContext]; /** * Applied after the main markdown content is rendered. */ ['content.end']: [MarkdownThemeContext]; }