Skip to content

MarkdownPreviewRenderer.getSectionInfo method

MarkdownPreviewRenderer › getSectionInfo

Unofficial

Gets section information for an element.

Signature:

getSectionInfo(el: HTMLElement): MarkdownSectionInformation | null

Parameters:

Parameter Type Description
el HTMLElement The element to get section info for.

Returns: MarkdownSectionInformation | nullThe section information, or null if the element does not belong to this renderer.