On Wed, Mar 13, 2013 at 11:49 AM, Charles Beck <[email protected]> wrote:
> > El miércoles, 13 de marzo de 2013 17:41:03 UTC, Dan Allen escribió: > >> On Wed, Mar 13, 2013 at 11:36 AM, Charles Beck <[email protected]> wrote: >> >>> In my case, I have not directory '~/.asciidoc' >>> >>> (a) I'm using "[source,python]" to include a file being highlighted. But >>> (b) I also want to include a text file wich is not necessary be highlighted. >>> >> >> Wait, so you don't want highlighting? Then just use a vanilla literal >> block: >> >> ---- >> include::source.py[] >> ---- >> >> > It works, but I though that could be used "[source,txt]" to avoid that > that file to include were parsed like AsciiDoc > > Here's probably what you want: [subs="attributes,specialcharacters"] ---- include1::sample.rb[] ---- -Dan Btw, pygments does support a non-highlight mode, but you'd have to hack the AsciiDoc source filter to pass "-f text" instead of "-f html". -- Dan Allen Principal Software Engineer, Red Hat | Author of Seam in Action Registered Linux User #231597 http://google.com/profiles/dan.j.allen http://mojavelinux.com http://mojavelinux.com/seaminaction -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
