MarkdownPreviewRenderer.getSectionContainer method
MarkdownPreviewRenderer › getSectionContainer
Unofficial
Gets the section whose element contains the given element.Signature:
getSectionContainer(el: HTMLElement): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| el | HTMLElement | The element to search for. |
Returns: unknown — The containing section, or null if none.