Showdown: how i create [toc] menu. showdown-toc can`t use

Created on 18 Oct 2018  路  4Comments  路  Source: showdownjs/showdown

help wanted

Most helpful comment

You can make an extension.

Also, if you're willing to wait for version 2.0, creating a TOC will be trivial, sicne showdown will have a proper parser that outputs an abstract node tree that represents the document tree (and you can grab all the headings to create a TOC).

All 4 comments

Can you please elaborate?

i want to create toc menu. #422 showdown-toc requires jQuery, it cant`t use. what should I do銆倀hank

You can make an extension.

Also, if you're willing to wait for version 2.0, creating a TOC will be trivial, sicne showdown will have a proper parser that outputs an abstract node tree that represents the document tree (and you can grab all the headings to create a TOC).

I have created a showdown-toc extension.
https://github.com/ahungrynoob/showdown-toc

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonaskello picture jonaskello  路  4Comments

Ehesp picture Ehesp  路  3Comments

DesignResponds picture DesignResponds  路  3Comments

andistuder picture andistuder  路  5Comments

JerryYangJin picture JerryYangJin  路  7Comments