How to use tocify with asciidoctor for a dynamic toc?

前端 未结 1 732
刺人心
刺人心 2021-02-02 03:29

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 i

1条回答
  •  悲哀的现实
    2021-02-02 04:17

    Enable docinfo processing in your asciidoc files, e.g. by passing the following options to asciidoctor:

    -a toc=left -a docinfo=shared
    

    Add a docinfo.html file next to your asciidoc files with the following content:

    
    
    
    
    
    
    
    
    
    

    0 讨论(0)
提交回复
热议问题