On 15 October 2014 10:45, Dan Allen <[email protected]> wrote:
> Yep! You just need to add the quotes substitution to the block and you can
> use inline formatting.
>
> [source,java]
> [subs="quotes"]
> ----
> System.out.println("make *this text* bold");
> ----

Hi Dan,

This blew up last time I tried, maybe it depends on exactly where the
markup is (in a string like here might be ok)

Cheers
Lex


>
> You'll have to be careful to escape formatting characters in these listings.
>
> -Dan
>
>
> On Tue, Oct 14, 2014 at 4:55 PM, Yakov Fain <[email protected]> wrote:
>>
>> Hello,
>>
>> I'm writing a book using asciidoc and need to be able to make in *bold* a
>> code fragment that's located inside the [source] block.  For example, I have
>> a code listing A, then added something (e.g. id="password") and want to show
>> this addition in bold.
>>
>> I wonder if anyone knows how to do it?
>>
>> Thanks
>> Yakov Fain
>>
>> --
>> 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.
>
>
>
>
> --
> 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.

-- 
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.

Reply via email to