I'm trying to add bold to some listings, to show commands the user has
to type in, eg:
[subs="quotes"]
----
$ *python functional_tests.py*
Traceback (most recent call last):
File "functional_tests.py", line 4, in <module>
assert 'Django' in browser.title
AssertionError
----
That works up to a point, except that [subs="quotes"], although it
nicely makes my "python functional_tests.py" bold, unfortunately
breaks the <module> (because it now thinks it's an XML element of some
kind), and it puts my 'Django' into italics.
Is there any way of telling asciidoc something like
[subs="asterisks"], so that it only applies the bold, and doesn't mess
with anything else? Alternatively, is there an alternative way of
achieving my objective? I want to avoid having to escape all the
angle-brackets and single quotes:
[subs="quotes"]
----
$ *python functional_tests.py*
Traceback (most recent call last):
File "functional_tests.py", line 4, in <module>
assert \'Django\' in browser.title
AssertionError
----
is a bit heavyweight... is there a way of writing some kind of custom
[subs=] directive or something?
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.