sethyuan / logseq-plugin-tocgen

Generate a TOC of any page anywhere to quickly access the page's content.
MIT License
144 stars 10 forks source link

Plugin not working when using namespace #5

Closed zllx666 closed 2 years ago

zllx666 commented 2 years ago

Logseq 0.5.6 tocgen 1.3 When Inserted command {{{toc [[pagename]]}}} into my page. The command disappear and not generating any table of content. This happens when the page has 3 levels, the plugin works good if the page only has 2 levels.

e.g., I have 3 pages [[AA/BB/CC]], I can generate TOC for page BB using command {{{toc [[AA/BB]] }}}, but I cannot generate TOC for page CC using command {{{toc [[AA/BB/CC]] }}}.

sethyuan commented 2 years ago

It should be fixe now, please upgrade the plugin and give it a try.

zllx666 commented 2 years ago

It's working now, thanks for the awesome plugin.

sethyuan commented 2 years ago

Glad you like it! 😃