create account

Why aren't internal anchor links supported in Steem interfaces? by gadrian

View this thread on: hive.blogpeakd.comecency.com
· @gadrian · (edited)
$2.04
Why aren't internal anchor links supported in Steem interfaces?
For those who don't know, internal anchor links allow authors to create links within their own posts, so readers can navigate easier long posts or go directly to a certain section that interests them.

Someone might be asking: why on earth would I want to write long posts, and even more, to bother adding links to them, when payout window is restricted to 7 days?

That's a good point, but still, we started to make timid steps into allowing people to care about maintaining long term content. They won't be paid for that, not directly, but some do and others will probably do that also.

If I remember correctly, it was in HF20 when we introduced the possibility to edit a post past the 7 days interval. That opened up the possibility to keep updating a post.

The most often types of content that we keep updated as of now are:
* indexes
* FAQs

There would be others if there wouldn't be the incentive to create another post instead, to receive the author rewards.

> The possibility to pin posts within a community offers another incentive to keep indexes or FAQs updated.

The problem is  these posts tend to grow, and they become very difficult to navigate once they do.

Since we can't hope for something like expandable divs in our posts, a **_table of contents_** would be great, and even better for SEO purposes. But we can't create one, because anchor links don't work in the most popular Steem interfaces.

> If someone wants to test this in their own preferred Steem interface, to see if it works, be my guest:
https://steemit.com/test/@testuser123/6zzct8-test
Please let me know if it works there!

Just do be clear, markdown doesn't seem to have a standard support for anchor links for whatever reason. But a combination of markdown and html (or just html) should be allowed for this purpose (as it is allowed for writing on two columns, for example).

<pre><code>Go [here](#contact) if you want to contact me directly.<br>.<br>.<br>.
### &lt;a id="contact"&gt;&lt;/a&gt; Contact Details
contact details here</code></pre>

<br>I am used to the <code>&lt;name&gt;</code> parameter for setting anchors, but I saw this is preferred by people looking for a solution with markdown. Whatever solution you choose is fine with me, as long as there is one.

The same internal anchors can be used for writing much easier to follow guides or tutorials. It's not rare in a tutorial when you invite the reader to jump back to a certain point. Wouldn't it be easier for him/her to simply click a link for that, instead of scrolling?

Here's another argument for needing internal anchors. Let's say you wrote a long post in the past. And a short fragment or section from there is relevant to what you are writing now, but not the full article. It's also too long or too off topic to insert as a quote in your new post. Wouldn't an internal anchor be useful in the old post now? You can go back and add it if you don't have one. And then simply link to the right section or part of the said article.

I am a person who remembers stuff... Or if I don't I search. And it's not once that I brought back ideas written by myself or others in the past. We need to stop thinking in 7 days intervals! Internal anchors will help. And you don't have to rethink the payout system for that.

### Update: After a discussion with asgarth and jarvie [here](/hive-111390/@steemhelp-qa/can-i-create-a-table-of-contents-in-steemit-com), this may be resolved soon on SteemPeak, where there is support for internal links in html, but currently there is a bug.
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
πŸ‘Ž  
properties (23)
authorgadrian
permlinkwhy-aren-t-internal-anchor-links-supported-in-steem-interfaces
categoryhive-144703
json_metadata"{"tags": ["hive-144703", "internal-anchors", "steemit", "steempeak", "esteem", "palnet", "neoxian"], "links": ["/test/@testuser123/6zzct8-test", "/hive-111390/@steemhelp-qa/can-i-create-a-table-of-contents-in-steemit-com"], "app": "steempeak/2.2.8", "format": "markdown", "users": ["testuser123", "steemhelp-qa"], "canonical_url": "https://peakd.com/hive-144703/@gadrian/why-aren-t-internal-anchor-links-supported-in-steem-interfaces"}"
created2020-02-01 09:54:24
last_update2020-05-24 16:10:24
depth0
children9
last_payout2020-02-08 09:54:24
cashout_time1969-12-31 23:59:59
total_payout_value1.047 HBD
curator_payout_value0.994 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,539
author_reputation629,695,092,171,674
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,987,903
net_rshares8,321,757,787,543
author_curate_reward""
vote details (63)
@crokkon · (edited)
$0.07
.
.
πŸ‘  , ,
properties (23)
authorcrokkon
permlinkq50xbb
categoryhive-144703
json_metadata"{"app": ""}"
created2020-02-01 12:57:09
last_update2022-08-06 16:20:09
depth1
children1
last_payout2020-02-08 12:57:09
cashout_time1969-12-31 23:59:59
total_payout_value0.035 HBD
curator_payout_value0.036 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1
author_reputation81,214,366,861,104
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,991,500
net_rshares416,050,614,337
author_curate_reward""
vote details (3)
@gadrian ·
I just tried. Same result. Actually Steempeak seems to go to an anchor if it's  specified in the URL when the post page is opened, but won't scroll if a link is internal.
properties (22)
authorgadrian
permlinkre-crokkon-q50ycq
categoryhive-144703
json_metadata{"tags":["hive-144703"],"app":"steempeak/2.2.8"}
created2020-02-01 13:19:39
last_update2020-02-01 13:19:39
depth2
children0
last_payout2020-02-08 13:19:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length170
author_reputation629,695,092,171,674
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,992,151
net_rshares0
@inertia · (edited)
$0.17
> ... markdown doesn't seem to have a standard support for anchor links for whatever reason.

That's because there is no markdown standard.  But if we look at how GitHub and Jekyll go about it, they support hash-in-link by assuming the H1, H2, etc. tags are also `<a name>`.

Jekyll takes it one step further by also embedding IDs so that you can have smooth scrolling to the section.

All this to say, it can be done by the Steem front-ends.  But it’d be advisable to do so with a published standard.

Meaning, Steem should publish its standard.
πŸ‘  ,
properties (23)
authorinertia
permlinkq518xf
categoryhive-144703
json_metadata{"app":"steemit/0.2"}
created2020-02-01 17:08:03
last_update2020-02-01 17:09:27
depth1
children1
last_payout2020-02-08 17:08:03
cashout_time1969-12-31 23:59:59
total_payout_value0.084 HBD
curator_payout_value0.085 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length546
author_reputation346,568,901,399,561
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,998,625
net_rshares931,267,256,917
author_curate_reward""
vote details (2)
@gadrian ·
Thank you for explaining how other projects have figured this out @inertia.

I knew GitHub supported internal links, but didn't know the details.

I agree this should be an open standard for Steem. All major interfaces could benefit from supporting internal links.
properties (22)
authorgadrian
permlinkre-inertia-q51h1k
categoryhive-144703
json_metadata{"tags":["hive-144703"],"app":"steempeak/2.2.8"}
created2020-02-01 20:03:21
last_update2020-02-01 20:03:21
depth2
children0
last_payout2020-02-08 20:03:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length264
author_reputation629,695,092,171,674
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id95,002,910
net_rshares0
@roadscape ·
$0.04
Thanks for the feedback. There is also some documentation on relevant issues here: https://github.com/steemit/condenser/issues/1201
πŸ‘  
properties (23)
authorroadscape
permlinkq6diig
categoryhive-144703
json_metadata{"links":["https://github.com/steemit/condenser/issues/1201"],"app":"steemit/0.2"}
created2020-02-27 18:39:54
last_update2020-02-27 18:39:54
depth1
children1
last_payout2020-03-05 18:39:54
cashout_time1969-12-31 23:59:59
total_payout_value0.022 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length131
author_reputation27,406,317,697,121
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id95,887,507
net_rshares274,321,339,648
author_curate_reward""
vote details (1)
@gadrian ·
Thanks for commenting and adding the link to the GitHub issues. I hope it'll come their turn some day, even if they are low priority.
properties (22)
authorgadrian
permlinkre-roadscape-q6dj3d
categoryhive-144703
json_metadata{"tags":["hive-144703"],"app":"steempeak/2020.02.5"}
created2020-02-27 18:52:27
last_update2020-02-27 18:52:27
depth2
children0
last_payout2020-03-05 18:52:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length133
author_reputation629,695,092,171,674
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id95,887,844
net_rshares0
@simplymike ·
$0.02
There's still a long way to go when it comes to a user-friendly experience and SEO optimization ... :0(
πŸ‘  
properties (23)
authorsimplymike
permlinkre-gadrian-q50oz1
categoryhive-144703
json_metadata{"tags":["hive-144703"],"app":"steempeak/2.2.8"}
created2020-02-01 09:57:00
last_update2020-02-01 09:57:00
depth1
children1
last_payout2020-02-08 09:57:00
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length103
author_reputation68,420,357,693,821
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,987,958
net_rshares138,154,803,795
author_curate_reward""
vote details (1)
@gadrian · (edited)
Yes there is. But even beyond UX, it's a way for authors to re-surface their best materials. They can gain followers, if the voting window is long gone.
properties (22)
authorgadrian
permlinkre-simplymike-q50pbi
categoryhive-144703
json_metadata{"tags":["hive-144703"],"app":"steempeak/2.2.8"}
created2020-02-01 10:04:30
last_update2020-02-01 10:04:57
depth2
children0
last_payout2020-02-08 10:04:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length152
author_reputation629,695,092,171,674
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,988,113
net_rshares0
@tts ·
To listen to the audio version of this article click on the play image.
[![](https://s18.postimg.org/51o0kpijd/play200x46.png)](http://ec2-52-72-169-104.compute-1.amazonaws.com/gadrian__why-aren-t-internal-anchor-links-supported-in-steem-interfaces.mp3)
Brought to you by [@tts](https://steemit.com/tts/@tts/introduction). If you find it useful please consider upvoting this reply.
πŸ‘Ž  ,
properties (23)
authortts
permlinkre-why-aren-t-internal-anchor-links-supported-in-steem-interfaces-20200201t100112
categoryhive-144703
json_metadata""
created2020-02-01 10:01:12
last_update2020-02-01 10:01:12
depth1
children0
last_payout2020-02-08 10:01:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length381
author_reputation-4,535,154,553,995
root_title"Why aren't internal anchor links supported in Steem interfaces?"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,988,050
net_rshares-26,026,153,309
author_curate_reward""
vote details (2)