Skip to content

✨ Links to headings in Table of Contents #54

@lufimio

Description

@lufimio

Requested Feature

Use the #link feature of typst in the TOC so clicking an entry will bring you to the specified entry

  • automatically generate a reference for each entry that is documented so users can reference the entry in the notebook

Current Implementation

N/A

Motivation

This would make the notebook seem more professional and help with navigation as the notebooks get larger.

Possible Implementations and Alternatives

In each theme, create a reference which by default is the title with the spaces replaced by underscores, but can be changed by an argument (this would be in the create-entry function) and in the TOC component we wrap every item in a link.
I will create a PR if your interested in adding this

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions