gajus/gitdown

Option to control the TOC text for specific anchors

Open

#26 opened on Jan 25, 2015

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (51 forks)github user discovery
help wanted

Repository metrics

Stars
 (450 stars)
PR merge metrics
 (PR metrics pending)

Description

Sometimes I don't want to display the full heading of a section in the table of contents. Is there or could there be an option to override the heading display?

Example: currently in the Reductio README (https://github.com/esjewett/reductio), one heading is "reductio.avg(boolean|value)". I would like this to be the heading, but in the TOC I'd like to display only "avg".

Contributor guide