Quantcast

Admonition block to be wrap-able?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Admonition block to be wrap-able?

Linda
I'm wrapping text around a table inside a sidebar block as suggested here.

However, it seems admonition blocks do not wrap. Is there a way to make them wrap as well?
So far I'd only need HTML output. Is there something I can define in the CSS?
Ted
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Admonition block to be wrap-able?

Ted
With HTML it's possible. You would use a docinfo file and add your own CSS to override how blocks work. See: http://asciidoctor.org/docs/user-manual/#docinfo-file

Perhaps there are other approaches to your design where you wouldn't have to fight against the way Asciidoctor works?

Post a snippet of your AsciiDoc file with some more details about what you are trying to accomplish. We could offer some suggestions.
- Ted @TedAtCIS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Admonition block to be wrap-able?

Linda
Thank you for the offered help. I can't just post part of the documents I'm working on, but soon will spend some time to get the idea across. :)
Loading...