highlight TOhtml output? #14

Closed
teschmitz opened this Issue Dec 3, 2012 · 16 comments

2 participants

@teschmitz

Would it be possible to highlight colours when outputting to HTML with TOhtml?

@chrisbra chrisbra added a commit that referenced this issue Dec 3, 2012
@chrisbra issue #14
Convert highlighting to syntax highlighting, so a plugin like TOhtml can
properly generate a website with all colors highlighted correctly.
b274ce2
@chrisbra
Owner
@teschmitz

Ingenious!

But one wee bug fix is needed: you create class with names derived from the hex colour code. This fails for those colour codes which start with a decimal number:

A class name must begin with an underscore (_), a dash (-), or a letter(a–z), see http://stackoverflow.com/questions/448981/what-characters-are-valid-in-css-class-names

Maybe you want to prefix hex code class names with an "x"?

@chrisbra
Owner
@teschmitz

I have downloaded the zip file but this seems to be an old version pre-dating #14. I have no highlighting for TOhtml at all.

@chrisbra
Owner
@teschmitz

I download via the ZIP button at the top left. master.zip contains autoload/Colorizer.vim, which is dated 6th Dec 12:15 but I can't tell what version this is. When I search for "persist", I get no search result. I don't think #14 is covered by this download.

@chrisbra
Owner
@teschmitz
@teschmitz
@teschmitz
@chrisbra
Owner
@chrisbra
Owner
@chrisbra
Owner
@teschmitz
@chrisbra
Owner
@teschmitz
@chrisbra chrisbra closed this Dec 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment