Interface RenderOptions

Document-level options which can affect broad aspects of the rendering process. Whenever these options have entry-level equivalent options, the entry-level options take precedence.

Hierarchy

  • RenderOptions

Properties

boldIndicator?: "*" | "_"

The character which will be used to signify bolded text.

italicIndicator?: "*" | "_"

Indicator determining what character is used to denote italics.

onDocumentFootnoteAppended?: ((data: MarkdownEntryOrPrimitive[], document: string, options: RenderOptions) => string)

Type declaration

onDocumentFootnoteAppending?: ((data: MarkdownEntryOrPrimitive[], document: string, options: RenderOptions) => string)

Type declaration

An arbitrary prefix which will be prepended to every line of text generated within the context of these options. Typically used by the main markdown generator when recursively rendering lines of markdown.

renderers?: Renderers

The renderers which will be used when processing markdown entries.

unorderedListItemIndicator?: UnorderedListItemIndicator

An indicator specifying which character to use when denoting an unordered list item. Default: '-'

useCodeblockFencing?: boolean | "`" | "~"

Indicates whether or not to use codeblock fencing rather than standard indentation for codeblocks. Supplying true tells the renderer to always use code fencing with the default character. Otherwise, supplying a character tells the renderer to always use code fencing with the specified character. Omitting this options results in indented codeblocks.

useDescriptionListHtml?: boolean

Option to render description lists as HTML. Default: false

useH1Underlining?: boolean

Option which will use '=' underlining for denoting an h1 rather than a '#' prefix.

useH2Underlining?: boolean

Option which will use '-' underlining for denoting an h2 rather than a '##' prefix.

useSubscriptHtml?: boolean

Option to render subscript indicators as HTML. Default: false

useSuperscriptHtml?: boolean

Option to render superscript indicators as HTML. Default: false

Generated using TypeDoc