On Fri, Jul 10, 2015 at 11:18 AM, russurquhart1 <[email protected]>
wrote:
> I was able to get the role for the whole list to work.
Great!
> Can you give me an example of the last two methods
Something like:
* shared item
* [if-windows]#do for Windows#
* shared item
or
* shared item
* {empty}
+
[.if-windows]
--
do for Windows
--
* shared item
> as well as setting a role for a given row of a table?
You cannot apply attributes to rows in AsciiDoc. This is a harder problem
to solve. You'll likely need to use an AsciiDoc table cell and apply a role
to the block-level content in that cell. Again, another solution is to
simply repeat the whole table for each condition just like with lists.
...and there's always the possibility to get very creative. AsciiDoc is so
flexible that usually you can find new workarounds not previously thought
of. I'm just sharing what works out of the box without too much thought.
Cheers,
-Dan
--
Dan Allen | http://google.com/profiles/dan.j.allen
--
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.