DEV Community

Cover image for How To Create a Table of Contents to your Dev.to article

How To Create a Table of Contents to your Dev.to article

Christine Belzie on March 06, 2024

Table of Contents My Confession Step 1: Create your Table of Contents structure Step #2: Add Labels Step #3: Integrate Labels into...
Collapse
 
joshraphael profile image
Joshua Ng'ang'a Raphael

Concise and well explained article. I would appreciate if you could explain how to add color to code snippets as I have not managed to do so yet.

Collapse
 
cbid2 profile image
Christine Belzie • Edited

Hi @joshraphael! :) I wrote my next tutorial on how to add color to the code snippets in your Dev.to articles. Thanks for being my source of inspiration! :)

Collapse
 
joshraphael profile image
Joshua Ng'ang'a Raphael

Hi @cbid2 !! Thank you for actually taking my suggestion into consideration. Just read the article and rest assured I’ll no longer be sharing dull code snippets. I’m also glad to see your article has gained positive feedback, it seems that a lot of us were suffering in silence 😅. Much appreciated and I’ll be sure to keep up with all your other articles. I’ll also be hoping to receive your constructive feedback on the articles I write as well.
Cheers!

Collapse
 
blackgirlbytes profile image
Rizèl Scarlett

your article just reminded me to add a table of contents to my blog post. Thank you!

Collapse
 
michaeltharrington profile image
Michael Tharrington

Awww yeah! Thanks so much for sharing this resource and explaining how this is done, Chrissy. Love seeing new #howtodevto content! Appreciate ya helping to teach folks how to use DEV. 🙌

Collapse
 
jdgamble555 profile image
Jonathan Gamble

A good example of this - smashingmagazine.com/2024/03/moder...

Collapse
 
lymah profile image
Lymah • Edited

Thanks for sharing!

Collapse
 
jdgamble555 profile image
Jonathan Gamble

Your headers here don't match the page :)

Collapse
 
cbid2 profile image
Christine Belzie

Thanks for the heads up @jwmatthews! :) They’re fixed now.