You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, AsciiDoctor generates <p> elements within <div>s for admonitions (notes, tips, warnings) when Admonition Block markup is used. For example, this AsciiDoc:
<divdata-type="note">Here is a note
</div></section
Would it be possible to change AsciiDoctor handling so that <p> elements are always added within admonitions in HTMLBook output, regardless of whether Admonition Block or Admonition Paragraph markup is used? This would be valuable as having AsciiDoctor consistently generate <p> elements with admonition <div>s would make it easier to style the HTML with CSS.
The text was updated successfully, but these errors were encountered:
Right now, AsciiDoctor generates
<p>
elements within<div>
s for admonitions (notes, tips, warnings) when Admonition Block markup is used. For example, this AsciiDoc:Generates the following HTML:
But if instead of Admonition Block markup, you use this analogous Admonition Paragraph (see http://www.methods.co.nz/asciidoc/userguide.html#X28) markup:
Or this analogous Admonition Paragraph markup:
It converts without
<p>
elements:Would it be possible to change AsciiDoctor handling so that
<p>
elements are always added within admonitions in HTMLBook output, regardless of whether Admonition Block or Admonition Paragraph markup is used? This would be valuable as having AsciiDoctor consistently generate<p>
elements with admonition<div>
s would make it easier to style the HTML with CSS.The text was updated successfully, but these errors were encountered: