Monday, August 30, 2010

Re: Generating html documentation with hlink to jump easily

On Aug 30, 4:10 am, Luc Hermitte <hermi...@free.fr> wrote:
>
> Ages ago, I patched a perl script that runs the HTML converter in vim, and then add all the hyperlinks that make sense (plus a few other things).
> I haven't run it for a long time, so I don't know how it will do with vim latest versions.
>
> ->http://hermitte.free.fr/vim/ressources/tools/(don't forget the perl module VimDetect.pm)
>

I don't believe I've seen yours before, Luc. This is the one I
remember reading about:

http://peterodding.com/code/vim/publish/

Either of these look pretty interesting. I may need to see what they
can do.

Both you and Peter Odding should be sure to take a look at the options
described in :help :TOhtml if you haven't already, to see how they
interact with your scripts.

Some recent changes of note that I could envision affecting things
are:

1. Now defaults to using CSS rather than <font>, etc.
2. When the current buffer has 'diff' set, will default to creating a
side-by-side diff view instead of the usual single-buffer view.
3. Now supports the conceal feature, so if you're depending on the
concealed tokens for any of your hyperlink or keyword detection (e.g.
in :help documents), it could cause problems.

There may be others as well, or features you may want to turn off for
efficiency such as the progress bar.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: