On Fri, 11 May 2012 07:01:00 -0700 (PDT) Ben Fritz <[email protected]> wrote:
>On Friday, May 11, 2012 3:58:02 AM UTC-5, Tarlika Elisabeth Schmitz >wrote: >> I would argue that the link conversion isn't what I'd expect of >> TOhtml. I expected TOhtml to simply convert what I see in vim to >> HTML - a code snippet that can be embedded in a web page, with the >> possibility of copy/paste. (Otherwise, for looks, one could just use >> a screenshot.) >> > >I admit I was a little surprised to see it, but it's been there for a >long time so I'm hesitant to take it out entirely. It is quite jarring >to have the default browser style applied to such links and the Vim >style applied to everything else. I have only just detected TOhtml and obviously taken an interest with my particular need in mind (embed a code snippet on a web page). Please, excuse, if I therefore not appreciate other use cases for the tool. For example, I have created a vim syntax file for a markup language and a test file containing URL pointing to non-existing pages). If I was to write an article about it, the point of displaying the test file would simply be to demonstrate vim's syntax highlighting. Converting the links would be totally inappropriate. >> For example, my style is a purple fg with NO border. The generated >> vim style has no border attribute because normally it doesn't have to >> override a default style with border. You would need a >> "border:none !important". >I haven't see a browser apply a border. Normally they apply an >underline, which can be removed with text-decoration: none; So, you would just have to apply "text-decoration:none" followed by the vim syntax highlight class? -- Tarlika Elisabeth Schmitz, Scotland -- 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
