asciidocfx / AsciidocFX

Asciidoc Editor and Toolchain written with JavaFX 21 (Build PDF, Epub, Mobi and HTML books, documents and slides)
http://www.asciidocfx.com/
Apache License 2.0
1.89k stars 298 forks source link

:toc: left doesn't work. #275

Open ruckc opened 7 years ago

ruckc commented 7 years ago

When I add :toc: left to a document in AsciidocFX it doesn't render with the toc2 css class. When I render the document to html outside of AsciidocFX using asciidoctor directly, it renders with the toc2 css class.

rahmanusta commented 7 years ago

I hope it works when producing HTML, you may not see on preview.

ruckc commented 7 years ago

It does work with HTML generation, just not preview. What is the preview doing differently?

rahmanusta commented 7 years ago

It might be related to responsive css. What happens when you make full-sized preview?

ruckc commented 7 years ago

It doesn't work, it keeps the toc style class, not toc2.

You can recreate it by just adding :toc: left to the asciidoc cheatsheet built into AsciidocFX.

volehuy1998 commented 2 years ago

Confirmed. :toc: left not working on asciidocFX