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

Feature - toc styling#71

Open
romanlum wants to merge 4 commits intoamyreese:masterfrom
romanlum:feature/toc-hierarchy
Open

Feature - toc styling#71
romanlum wants to merge 4 commits intoamyreese:masterfrom
romanlum:feature/toc-hierarchy

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.

2 participants