pull down to refresh
30 sats \ 6 replies \ @bitcal 26 Aug \ parent \ on: SN release: multistep wallet form, live comments toggle, toc markdown, fixes meta
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