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.29
TRX 0.21
JST 0.039
BTC 97652.91
ETH 3729.32
SBD 3.91