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.86k stars 296 forks source link

HTML backend Passthrough block show at PDF #573

Closed life888888 closed 1 year ago

life888888 commented 1 year ago

AsciidocFX 1.8.0

AsciidocFX - Example - Cheatsheet.adoc


ifdef::backend-html5[]
=== Passthrough block

++++
This is a <b>Passthrough</b> block. IT may be used with a HTML backend to insert raw HTML within the document.
<br/>
<br/>
<u>Grocery list:</u>
<br/><br/>
<ul>
    <li>Garlic</li>
    <li>Bread</li>
    <li>Salami</li>
</ul>
++++
endif::[]

PDF Save , find Passthrough block show at PDF (backend shoud be PDF not HTML)

Cheatsheet_PassthroughBlock_PDF