Hi,
I’m trying to selectively typeset some parts of a verbatim block in
bold, e.g. I have a block that emulates the user typing something into
a shell and getting a response, where the user input should be bold:
$ <bold>user input here</bold>
Some output
$ <bold>another command</bold>
More output
How can I achieve this? I tried the following:
[subs="verbatim,macros"]
--------
$ pass:quotes[*user input*]
user output containing *asterisks* not producing bold font
also, `this` should not be teletype-in-teletype font
--------
This works pretty well, except that in the last line, a macro like
`this` gets expanded, too. Also, other macros get expanded.
Is there a way that only the pass:[] macro is being evaluated?
Or is there an altogether different way to achieve the desired result?
Any hints appreciated! Thanks,
Julius
--
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.