gitbook-plugin-tags
gitbook-plugin-tags copied to clipboard
Tags.md not always processed last
I found that linking to tags.md will make it not be processed last. This made tags.html content incomplete after a gitbook build.
# Table of Contents
* [item1](/tags.md#item1)
* [item2](/item2.md)
* [tags](tags.md)
In the above example, any tags in item2 will not show after a gitbook build.
There is a workaround, but I thought I'd post it here, since it took me a while to track down.
Thanks. You can post it here.
Couldn't it use the finish
hook to execute after everything else?
https://toolchain.gitbook.com/plugins/hooks.html
Technically, you can use finish:before
hook to generate tags.html
page.
Without summary hook, you should convert markdown to html by yourself.
https://github.com/GitbookIO/gitbook/issues/1532
Hope the new GitBook can generate tags without third-party plugin. https://betadocs.gitbook.com/