Skip to content

cupertino-files / TocRule

Interface: TocRule ​

Defined in: src/tswp/toc.ts:74

One rule: "collect paragraphs of this style, render them like that".

Properties ​

entryStyleId ​

entryStyleId: bigint | undefined

Defined in: src/tswp/toc.ts:78

Style the collected line is rendered in.


included ​

included: boolean

Defined in: src/tswp/toc.ts:80

Whether this style contributes to the TOC at all.


paragraphStyleId ​

paragraphStyleId: bigint | undefined

Defined in: src/tswp/toc.ts:76

The paragraph style collected, if it resolves.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.