On Saturday, January 10, 2015 at 8:27:52 AM UTC-2, Dan Allen wrote:
>
> [regex]+some regex here+ should do the trick*.
>
I tried [regex]+foo bar+ and more text here. and it generated
<p><code>foo bar</code> and more text here.</p>.

I need a <code class='regex'> so that I can style it differently than other 
<code> tags.
 

> Note you will have to mind escaping if there are special characters in the 
> marked content.
>
> * In Asciidoctor you'd use backticks instead of pluses.
>
> -Dan
> On Jan 10, 2015 3:13 AM, "Fernando Basso" <[email protected] 
> <javascript:>> wrote:
>
>> I use `code here` for "inline" source code snippets. Is there a way that 
>> would allow me to
>> define something like ``some regex here`` to mean that it should be 
>> translated to
>>
>>   <code class='regex'>some regex here</code>
>>
>> Is that at all possible? If not, what other solution would there be. 
>> Also, correct me if "command"
>> in the tittle is not the proper terminology.
>>
>> -- 
>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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