asciidoctor / asciidoctor-extensions-lab

A lab for testing and demonstrating Asciidoctor extensions. Please do not use this code in production. If you want to use one of these extensions in your application, create a new project, import the code, and distribute it as a RubyGem. You can then request to make it a top-level project under the Asciidoctor organization.
Other
105 stars 101 forks source link

Is there a configuration open for using divs instead of tables for admonitions? #101

Closed behrangsa closed 12 months ago

behrangsa commented 5 years ago

For example, instead of emitting:

<table>
    <tbody><tr>
        <td class="icon">
            <i class="fa icon-warning" title="Warning"></i>
        </td>
        <td class="content">
            Wolpertingers are known to nest in server racks.
            Enter at your own risk.
        </td>
    </tr></tbody>
</table>

making AsciiDoctor emit:

<div>
    <div>
        <i class="fa icon-warning" title="Warning"></i>
    </div>
    <div>
    Wolpertingers are known to nest in server racks.
    Enter at your own risk.
    </div>
</div>
mojavelinux commented 12 months ago

Please direct questions to the project chat at https://chat.antora.org.