hi experts/lex:
I'm both a vim user and (recently) an asciidoc user.
I enjoy the power from both, and using vim to edit asciidoc is even
powerful/handy since it combines power of both.
As you know one great thing available naturely in vim is its highlight
system, supporting highlight of almost every known language/script.
with power of gnu source-highlight/pygments, asciidoc's source block
bring the same feature, making the code quoting in html fantastic.
per the asciidoc doc here:
http://www.methods.co.nz/asciidoc/index.html#_source_code_highlighter
http://www.methods.co.nz/asciidoc/source-highlight-filter.html
it looks I need to figure out how to use vim as a highlight filter for
asciidoc, which I have no much ideal about...
by google I got this:
http://whileimautomaton.net/2010/11/03201210
looks someone had similiar idea and get it work.
but after testing it doesn't work for me, I sent help request but not
yet got anything.
b.t.w. vim by the way generate decent webpage (:TOhtml). but just
literally, not as structured as what asciidoc bring to us.
one workaround I'm thinking of , is that I might be able to:
1) use vim to highlight my text to be quoted in the asciidoc source block
2) TOhtml to render these texts into html source code
3) manually inject the rendered source code into passthrough block in
asciidoc.
I'm not sure if it works , need to test, but I'm thinking even if it
does, the issue is obvious --- the readability of asciidoc source got
sharply decreased -- this suppressed one of the main benefit of asciidoc
(good readablity even from the source)
anyway, overall I'm asking for a possible option to use vim as yet
another cool highlighter in practice , especially for vim users.
--
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.