How to use tocify with asciidoctor for a dynamic toc?
问题 By default, asciidoctor creates a static toc. This is very cool but for long documents, it would be nice to if the toc could be somewhat more compact and would highlight where in the document the reader currently is. At this point, tocify comes in. Tocify is a nice Javascript solution exactly to cover this. Now the question is: how to use tocify with asciidoctor? Asciidoctor issue 699 is relevant here. 回答1: Enable docinfo processing in your asciidoc files, e.g. by passing the following