[regex]+some regex here+ should do the trick*. 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]> 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. > -- 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.
