Re: Collapsable/Expandable TOC
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Collapsable-Expandable-TOC-tp789p8228.html
Here's how to override the method in Ruby:
class MyHTMLConverter < (Asciidoctor::Converter.for 'html5')
register_for :html5
def convert_outline node, opts = {}
# insert logic here
end
end
Best Regards,
-Dan
On Tue, Sep 8, 2020 at 11:55 PM max990 [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Hi,
You said it's possible to implement custom html template for toc?
I see block_toc.html.erb but I can't see <ul>, <li>, .. to change them (add class, ..)
Where can I do that?
Thanks
--