On 26 December 2014 at 01:13, Fernando Basso <[email protected]> wrote: > I am writing a Question/Answer document. I want it to have a look similar to > this: > > > ----- (this is an horizontal rule) ----- > 1. [tag1, tag2, ...] > > Q: question here... > (two empty lines) > > A: Answer here... > > > > > It is working just as I want, with the exception of leaving those two empty > lines between the > question and the answer. I'm not sure how to accomplish that, but it would > be even better > if I could do something like > > [.specific_css_class_name_here]A: and here goes the answer.
[role=css_class_name] See http://www.methods.co.nz/asciidoc/userguide.html#_common_attributes Cheers Lex > > So that I could apply any top margin I want in in answer paragraph (instead > of two empty lines). I thought about using > nth-child pseudo class, so that I could make every answer paragraph have a > different top margin, > but the problem is that questions and answers might have more than one > paragraph. > > I am very new to asciidoc and would like some advice. > > Thanks in advance. > > > > -- > 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.
