Is there any option to show an outline for a post ?



  • hey, folks

    We have a series of posts that published on a forum based on nodebb, the articles are well organized, and it is long, so for each article, we want a outline sticking on the right side. It can be used as shortcuts, like what you get bellow.

    0_1461655505284_upload-122f4972-42d2-43dd-be21-899bffb0b877

    So, the outline is used with #, or h1 tag.

    Is they any plugin can do so ?


  • Global Moderator

    This may be achievable via custom JS. Remind me to look over this next week.



  • So, there is no plugin to archive this currently, I assume. I would try to make it.


  • Global Moderator

    @Samurais It is probably as simple as just making a parser that finds all of the headers and pulls them out into a table of contents.


Log in to reply
 

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.