Dave,

As you have discovered, you can customize the output that Asciidoctor
generates using any template language supported by Tilt (e.g., Slim, Haml,
ERB, etc). This is a departure from the home-grown templating language in
AsciiDoc Python because these languages are far more sophisticated and
therefore open a lot more doors.

I'm keenly aware we need a tutorial for how to get started with templates
and the template converter in Asciidoctor, hence this issue:
https://github.com/asciidoctor/asciidoctor.org/issues/80. There is a lot of
good information in or linked to that issue.

Cheers,

-Dan

On Mon, Jan 4, 2016 at 4:07 PM, Dave Smith <[email protected]> wrote:

> Looks like I can achieve what I need here using templates. It took a
> layman like me a while (most of today) to figure out how templates worked
> and what I would need to do to create one that overrides just this
> particular block, so perhaps some more detailed documentation on the
> Asciidoctor site would benefit future folks.
>
> Cheers,
> --
> Dave Smith, PE
> @devunwired
>
>
> On Monday, January 4, 2016 at 11:55:58 AM UTC-7, Dave Smith wrote:
>>
>> Hi All -
>>
>> Is there a straightforward way to modify how certain Asciidoc elements
>> (using Asciidoctor) are represented in the HTML output without writing a
>> complete backend? We would like to start using Asciidoc to write the
>> articles posted on our site, and I would like to simplify the HTML used for
>> NOTE/TIP/CAUTION admonition blocks to remove the nested <table> element and
>> match what our site currently uses for admonitions.
>>
>> Is this possible?
>>
>> Thanks,
>> --
>> Dave Smith, PE
>> @devunwired
>>
> --
> 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 https://groups.google.com/group/asciidoc.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Dan Allen | @mojavelinux | 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 https://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to