jgm / jgm/gitit

WikiLinks in the TOC or in the section

Open
#270 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
2.3k
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Hello,

When we write:
```# Proof

It is a proof.

``````
on a page of the wiki, the result is a TOC at the top of the page, linking to the title of the section (by an anchor).

However, when we write:
```# [Proof]()

It is a proof.
``````

the TOC title holds the WikiLink and the title of the section nothing.

It is not very convenient because it is not possible to directly jump to the section from the TOC.

Wouldn't it be better to make the TOC link to the section title and the section title hold the WikiLink?

As a result, it would be possible:
- to jump to the section from the TOC in 1 click, and
- to jump to the page that is WikiLinked from the section title in 2 clicks (one from the TOC to get the section, and the second on the section title).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.