ts-markdown
Version:
An extensible TypeScript markdown generator that takes JSON and creates a markdown document.
10 lines (9 loc) • 565 B
TypeScript
import { Renderers } from './rendering.types';
/**
* Provides default, custom, and overridden renderers for markdown rendering.
* This is often invoked when the caller wishes to provide custom renderers when rendering a markdown document.
*
* @param customRenderers Any renderers which should be used in addition to or in place of existing default renderers.
* @returns An object map of renderers where the key is the identifying property of the particular markdown entry type.
*/
export declare function getRenderers(customRenderers?: Renderers): Renderers;