jekyll-toc icon indicating copy to clipboard operation
jekyll-toc copied to clipboard

How do I take advantage of the octicon?

Open menehune23 opened this issue 7 years ago • 7 comments

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

Thanks and great work!

menehune23 avatar Jul 16 '17 14:07 menehune23

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

toshimaru avatar Jul 16 '17 17:07 toshimaru

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.

menehune23 avatar Jul 16 '17 18:07 menehune23

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!)

toshimaru avatar Jul 18 '17 00:07 toshimaru

Thanks!

menehune23 avatar Jul 18 '17 17:07 menehune23

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

XhmikosR avatar Oct 17 '18 20:10 XhmikosR

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

rnehra01 avatar Mar 16 '19 06:03 rnehra01

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

N7K4 avatar Apr 30 '20 05:04 N7K4