Markdown anchors broken. Table of Contents ("[TOC]") code also broken.

in #steemit-bug8 years ago (edited)

The markdown standard provides a markup-styled anchor mechanism (according to and discussed on stackoverflow) whereby an article may include anchors which can be linked to. Reference links then have the effect of scrolling the browser to the spot linked. E.g., the article might look like:

# My Header
# Another Header
# <a name="shorttopic"/> Some long header (with punctuation) -- that would be impractical to map to an id automatically
# <a name="closedtag"></a> Some header using the closed tag approach
# <a id="idparam"/> Some header using the "id=" parameter instead of "name="

Then internally the reference code would look like:

..blahblah.. [in the first section](#my-header) ..blah..
..blahblah..
..blahblah.. [in another place](#shorttopic) ..blah..

Externally the anchor should be: <full URL>/#shorttopic

Similarly, the markdown standard provides a [TOC] command which should be replaced with an auto-generated table of contents (which incidentally should include auto-generated reference URLs to the various anchors). But that literally inserts [TOC] in the document.

All of this is broken on steemit.com.

Sort:  

Did anyone ever fix these issues? I really want to be able to use named anchors in one of my upcoming blog posts.

I've been having the same issue. I tried a number of different fixes last night, and have concluded the same thing. That the feature is broken. Is the developer team working on this?

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 61042.80
ETH 2605.92
USDT 1.00
SBD 2.65