28 Comments
Jan 23·edited Jan 24Liked by Mikhail Skoptsov

The anchor links will reload page every time the reader clicks it. Instead, link the post URL and attach #§heading-in-kebap-case

For example, instead of: https://textualvariations.substack.com/i/87683773/additional-notes

do: https://textualvariations.substack.com/p/toc-in-substack#§additional-notes

The latter will scroll to the section without a page reload.

Expand full comment

Unbelieve that this isn't a native supported feature in Medium.com OR Substack newsletters. What is going on with the world today?!

:)

Expand full comment

THANK YOU!!!

Expand full comment

Thank you -- I write long posts and this will be incredibly useful!

I'm also subscribing to your Substack because some of my scholarship involves the Jackson's film adaptations of Tolkien's novel, so the "textual variations" topic is intensely interesting to me (was trained in lit studies so had to pick up some of the film studies ideas on my own).

Expand full comment

Thank you! This was very helpful for me to write my first substack post. :) Cheers!

Expand full comment

Hi Mikhail, thank you so much for your article. I was inspired to make it easier to make table of contents in 2023 and wrote this article here: https://thewinniewiki.substack.com/p/a-quicker-way-to-make-a-table-of.

Expand full comment
Dec 8, 2022Liked by Mikhail Skoptsov

Hi Mikhail, great to point this out. Can be very helpful. In my experience, step 2 and 3 are absolutly not necessary. Substack seems to convert the anchor links to the publish version as soon as your post is published. It works for me, in any case.

Expand full comment

Super cool!

Expand full comment

It would be lovely if this was just built-in, Notion-style.

Expand full comment

I'm new to Substack. Much of how Substack works seems great. It might build followers better than a standalone WordPress blog. But yikes! Such a fuss to get a TOC! In WP you add a plugin, tick "add TOC" and then do nothing but write! So easy. Substack & Medium are lite & social which is their power. But a fussy, manual TOC is crazy! :(

Expand full comment

Thanks. I was hoping that there might be something similar to the Table of Contents macro in Confluence, which creates a ToC automatically based on your headings - it's a shame that this doesn't exist, but at least I know not to bother spending any more time looking for it!

Expand full comment

assigning heading 3 didn't work to create an anchor. so maybe it stopped working? this step didn't happen for me, might need an update: Each time you turn a block of text into a section heading, you create what is known as an “anchor link.” This means each heading and thus each section now has its own unique weblink that you can copy and paste.

Expand full comment

Thank you for this -- I'm having trouble implementing these when creating not a Post, but a Page in Substack. Does anyone know if perhaps Pages don't employ the tag-link feature for headers?

Expand full comment

I'm writing on a phone, can't 'hover'. What is the icon for anchor links in the editor?

I don't see it.

If ID tags are auto generated, can I guess what mine would be? Does this depend on the words of the header, or is it even more simple, like ID="H1A", "H1B", etc...

Expand full comment