gitbook-plugin-tags icon indicating copy to clipboard operation
gitbook-plugin-tags copied to clipboard

Tags.md not always processed last

Open pajtai opened this issue 7 years ago • 3 comments

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.

pajtai avatar Dec 20 '17 05:12 pajtai

Thanks. You can post it here.

billryan avatar Feb 22 '18 06:02 billryan

Couldn't it use the finish hook to execute after everything else?

https://toolchain.gitbook.com/plugins/hooks.html

Simran-B avatar Feb 27 '18 12:02 Simran-B

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/

billryan avatar Feb 27 '18 13:02 billryan