pull down to refresh

Seconded.
I was craving for this feature yesterday when composing my introduction post #1127364
Will definitely use this in the future. Kudos!
Yep just write {:toc} where you want your table of contents and it should auto populate based on the headings in your post!
reply
Example?
reply
You can try making a post with this in the markdown box:
**Table of Contents**

{:toc}

# Heading 1

Some text.

## Heading 1.1

Some more text.

# Heading 2

Even more text.
Try it out and see how it looks (make modifications as desired)
reply
Cool. Why can't we use it on comments?
reply
Heh, there was some internal discussion about whether it should be enabled for comments too. Can read about it here: https://github.com/stackernews/stacker.news/pull/2213
Short answer is probably just that we don't think any would really need to use it for comments.
reply
Love it! Big fan of Markdown — it was my bridge that helped me transition from the guy using Mediums and Substacks of the world to the man trying out Jekyll, then Hugo and now building my own websites.
It’s also why SN feels like home 🧡
reply