Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Feature - toc styling #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

romanlum
Copy link

Currently it is not possible to style the toc, because it is generated as normal markdown links.

To be able to style the toc i have changed the toc module to generate a div around the toc entries. This div contains the class toc and toc-depth.

<div class="toc toc-1">

1\.  [Test](#test)
</div>
<div class="toc toc-2">

1.1\.  [Title](#title)
</div> 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant