• If given cell is a markdown heading, returns the heading level. If given cell is not markdown, returns 7 (there are only 6 levels of markdown headings)

    Parameters

    Returns { collapsed?: boolean; headingLevel: number; isHeading: boolean }