Hi Axel

On 11/10/13 04:42, Axel Rauschmayer wrote:
> I’d like to use the Unicode character šŸ„ inside normal text and inside a
> listing block. Directly referring to the character did not work, but the
> following got me quite close:
> 
> :cow: 🐄
> 
> This is a cow: {cow}
> 
> [source,javascript]
> ----
> var str = '{cow}';
> ----
> 
> Any tips for how to best make the cow appear inside the listing block?

It will not work because the source-highlight filter escapes special
characters, so 🐄 is translated to 🐄

One way round this might be to paste the Unicode character directly into
the source text.

Cheers, Stuart

> 
> -- 
> 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/groups/opt_out.

-- 
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/groups/opt_out.

Reply via email to