A very ugly, but functional way to passthrough HTML is to use the block-level passthrough:
++++ <input type="text" name="email"> <input type="checkbox" name="subscribe"> ++++ The more correct, semantic approach is to create your own macros. Here's an example of a button macro: https://github.com/asciidoctor/asciidoctor/blob/master/compat/asciidoc.conf#L124 https://github.com/asciidoctor/asciidoctor/blob/master/compat/asciidoc.conf#L141 You'd then write the AsciiDoc as: btn:[Save] -Dan On Wed, Mar 12, 2014 at 2:47 PM, <[email protected]> wrote: > Will you elaborate on passthrough macros and how to use them in this > context? > > On Tuesday, March 11, 2014 8:17:26 PM UTC-5, Lex Trotman wrote: >> >> On 12 March 2014 11:48, <[email protected]> wrote: >> > I would like to embed HTML checkboxes and textboxes in >> asciidoc-formatted >> > document, preferably within a table. >> >> You can add them with passthrough macros, or configure your own macros. >> >> >> > >> > Moreover, it would be great if there was a way to use this to generate >> a >> > fill-in form if the document is rendered in PDF. >> >> Asciidoc generates docbook. PDF is generated from that by other >> tools. I'm not aware that docbook or those tools support that >> functionality. >> >> Cheers >> Lex >> >> >> > >> > Can either of these things be done? >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "asciidoc" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at http://groups.google.com/group/asciidoc. >> > For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. > -- Dan Allen | http://google.com/profiles/dan.j.allen -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
