toshimaru / jekyll-toc

Jekyll plugin which generates a table of contents.
MIT License
332 stars 52 forks source link

How do I take advantage of the octicon? #24

Open menehune23 opened 7 years ago

menehune23 commented 7 years ago

I've never used octicons before, so some help in the readme would be useful.

Thanks and great work!

toshimaru commented 7 years ago

not sure the relationship between jekyll-toc and octicons. what do you mean by saying take advantage of the octicons?

menehune23 commented 7 years ago

In your readme, the output for the header anchors includes the class octicon-link, so I thought integration was intentional. I'd like to know how to make the icon render.

toshimaru commented 7 years ago

Oh, my bad,I added Octicon support, but I totally forgot it! 😹

Okay, I'll add some description in readme. (but reading official document is recommended!)

menehune23 commented 7 years ago

Thanks!

XhmikosR commented 5 years ago

@toshimaru: I'd just replace octicon with something more general.

rnehra01 commented 5 years ago

@torbjoernk @menehune23 How to make the octicons icon render?

N7K4 commented 4 years ago

Replace <span class="octicon octicon-link"></span> with &#128279;&nbsp; to see an unicode char for a chain. With some CSS and PSEUDO-Classes like after / before / hover it is possible to design the anchor