Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin is not working #3

Closed
myownstandard opened this issue Dec 31, 2021 · 5 comments
Closed

Plugin is not working #3

myownstandard opened this issue Dec 31, 2021 · 5 comments

Comments

@myownstandard
Copy link

myownstandard commented Dec 31, 2021

Logseq 0.5.6 Mac os.
I have installed plugin from Marketplace.
Than i have Inserted {{{toc [[pagename]]}}} into my page. And it is highlighting red and not generating any table of content..

@myownstandard
Copy link
Author

Снимок экрана 2021-12-31 в 17 16 22

@sethyuan
Copy link
Owner

Have you tried setting up macros? You can follow the instructions in README. You can also try to directly use {{renderer :tocgen, [[pagename]]}} to create TOC if you don't want to setup macros. Still, I'd recommend you to read README for more options.

@sethyuan
Copy link
Owner

Oh, I see you're using namespace. I tried it myself, the plugin does have an issue handling namespaced pages, I'll look into it and I'll let you know once I have it fixed.

@sethyuan
Copy link
Owner

@myownstandard I fixed the namespace issue and released a new version. You can give it try.

@sethyuan
Copy link
Owner

sethyuan commented Jan 3, 2022

@myownstandard I released a new version providing a new slash command "Table of Contents", you use can it instead of macros, please check the usage demo in REAMDE.

@sethyuan sethyuan closed this as completed Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants