On 31 August 2012 23:39, ping <[email protected]> wrote: > hi Lex: > > thanks. > > not sure I put it clear, my question is actually with source block. > > if I use [source,c], I can get quoted c code highlighted properly, nice. > I was asking if we have any workaround to support vim as a language, so that > is can we have a [source,viml], so vim script can also be highlighted? >
Pygments has a vim highlighter, see its documentation. Cheers Lex > > I'll ask in another thread about vim as highlighter, if there is a chance to > have that as a feature... > > thanks! > > > On 08/30/2012 09:07 PM, Lex Trotman wrote: >> >> On 31 August 2012 05:59, ping <[email protected]> wrote: >>> >>> experts: >>> I'm trying to demonstrate vim script in a web page generated by asciidoc >>> and, it is ideal if the web page generated can retain original vimL >>> highlight. >>> >>> I tried 'vim', 'viml', doesn't work. is that supported? >> >> >> >> Does vim generate HTML? >> >> If not no. >> >> Cheers >> Lex >> >>> >>> per: >>> http://www.methods.co.nz/asciidoc/source-highlight-filter.html >>> by default, it relies on GNU source-highlight app, so should I do more >>> research on that area instead of asciidoc? >>> (looks no support per the gnu source highlight website) >>> http://www.gnu.org/software/src-highlite/ >>> >>> >>> anyone has any workaround so far? >>> >>> >>> thanks! >>> regards >>> ping >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "asciidoc" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/asciidoc?hl=en. >>> >> > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
