<previously sent from wrong mailbox>
originally I use this method in my doc:
= my doc
== chapter1
ifdef::basebackend-html[[subs="quotes"]]
ifdef::basebackend-html[....]
some paragraphs
some paragraphs
some paragraphs
ifdef::basebackend-html[....]
Now, those ifdef ... blocks are too much typings for me, especially when
they become standard in most of my docs....
and I'm thinking is it possible to shorten them with sth like:
= my doc
:liternalmark1: `ifdef::basebackend-html[[subs="quotes"]]`
:liternalmark2: `ifdef::basebackend-html[....]`
== chapter1
{literalmark1}
some paragraphs
some paragraphs
some paragraphs
{literalmark2}
but per my test this doesn't work.
is this expected behavior or am I missed sth to make it work?
thanks and happy new year.
regards
ping
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.