Well, this seems to have done it:

[replacements]
``(.+)``=<code class='regex'>\1</code>

I placed it in asciidoc_html.conf and pass that file to asciidoc(1). It 
seems
to have worked. Still, I would appreciate more insights or comments.

Thanks for all the support so far.

On Saturday, January 10, 2015 at 8:13:24 AM UTC-2, Fernando Basso 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].
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