On 9 September 2014 08:57, Ondra Žižka <[email protected]> wrote:
> Hi,
>
> is there any way to prevent asciidoc put <p> to each <li>? Makes the list
> tall and breaks the whole page layout.
>
> * foo
> * bar
>
> turns into
>
> <li><p>foo</p></li>
> <li><p>bar</p></li>
>
> Note that I can't touch CSS.

CSS is the right way to do it, styling should not be manipulated by
the HTML content.  Asciidoc CSS currently removes the top-margin for
paras inside lists, you can also remove the bottom-margin.

You can always have custom CSS added to the HTML generated by Asciidoc
to modify just that setting, see the stylesheet attribute in
http://www.methods.co.nz/asciidoc/userguide.html#X88.

Cheers
Lex

>
> --
> 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.

Reply via email to