I'd like to suggest the implementation of BBCode "anchors".
It would be very helpful when creating guides or any kind of long posts that could benefit from a table of contents.
What the hell are you talking about? What is this "Anchor" thing?
Anchor are "links" that take you to another section of the same page.
For instance, in HTML, it is implemented with this as the Link to the anchor
Code: Select all
<a href="#example">Link</a>
Code: Select all
<a name="example">Target</a>
Code: Select all
<span id="example">Target</span>
Screenshot taken from https://en.wikipedia.org/wiki/Gregorian_calendar
Speaking is easy, but implementing is hard!!!
Not at all. If the staff accepts this suggestion, it should be implemented like the following:
The Anchor
BBCode
Code: Select all
[anchor]{TEXT}[/anchor]
Code: Select all
<a name="{TEXT}"></a>
The Link (a.k.a. Go To)
BBCode
Code: Select all
[goto={TEXT1}]{TEXT2}[/goto]
Code: Select all
<a href="#{TEXT1}">{TEXT2}</a>
This solution was created by ferra1980.
Thanks.