GitHubJupyter
  • Preparing search index...
  • The search index is not available
@jupyterlab
  • @jupyterlab
  • toc
  • TableOfContentsUtils
  • filterHeadings

Function filterHeadings

  • filterHeadings<T>(headings, options?, initialLevels?): T[]
  • Filter headings for table of contents and compute associated prefix

    Type Parameters

    • T extends TableOfContents.IHeading = TableOfContents.IHeading

    Parameters

    • headings: T[]

      Headings to process

    • Optional options: Partial<TableOfContents.IConfig>

      Options

    • initialLevels: number[] = []

      Initial levels for prefix computation

    Returns T[]

    Extracted headings

    • Defined in packages/toc/src/utils/common.ts:29

Settings

Member Visibility

Theme

@jupyterlab
  • Loading...

Generated using TypeDoc