Skip to content

MarkdownPostProcessorContext.getSectionInfo method

MarkdownPostProcessorContext › getSectionInfo

Official

Gets the section information of this element at this point in time. Only call this function right before you need this information to get the most up-to-date version. This function may also return null in many circumstances; if you use it, you must be prepared to deal with nulls.

Signature:

getSectionInfo(el: HTMLElement): MarkdownSectionInformation | null

Parameters:

Parameter Type Description
el HTMLElement

Returns: MarkdownSectionInformation | null