Skip to content

Table of contents with linkable headers #58

Open
@HugoGranstrom

Description

@HugoGranstrom

Initial discussion here: SciNim/getting-started#21

The cheatsheet example has links to specific headers. This makes it easy to refer to specific sections of a post. The current implementation needs some work though, optimally the headers themself (or a symbol in front/after of them) should be clickable so one easily can copy the link.

The discussed approaches:

  • Hook into the rendering of the markdown and find the headers and insert links.
  • Explicit nbHeader, nbSubHeader etc, templates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions