On Saturday, January 10, 2015 at 9:52:35 AM UTC-2, Lex Trotman wrote: > > On 10 January 2015 at 21:29, Fernando Basso <[email protected] > <javascript:>> wrote: > > 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. > > Neat. > > If you place that in a file named the same as the backend, eg > xhtml11.conf it should get picked up automagically, but only for html, > so it won't suddenly appear in the middle of docbook should you decide > to make a PDF. > > See http://www.methods.co.nz/asciidoc/userguide.html#X27 for more > details of conf file names, locations and load order. Note that > asciidoc conf files overload like CSS, later entries add to or replace > earlier ones, so you don't need to repeat any part of the system conf > files you don't want to change. > > Okay. Thanks for the comments and the link to the relevant doc section.
> Cheers > Lex > > > > > 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] <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.
