Last active
August 19, 2017 07:38
-
-
Save sharu725/2e3b740d14edcd493b623fec5dc1c228 to your computer and use it in GitHub Desktop.
Jekyll Table of Contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Before implementing this Jekyll snippet make sure | |
1. you have defined "markdown: kramdown" in _config.yml. | |
--> | |
* Do not remove this line (it will not be displayed) | |
{:toc} | |
<style> | |
#markdown-toc::before { | |
content: "Contents"; | |
font-weight: bold; | |
} | |
#markdown-toc ul { | |
list-style: decimal; | |
} | |
#markdown-toc { | |
border: 1px solid #aaa; | |
padding: 1.5em; | |
list-style: decimal; | |
display: inline-block; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment