News for hackers. Stuff that matters.
Re:Ask HN: review my tiny app - code to html converter by bensummers on Monday September 14, 2009 @09:49AM (#821623)
Nice! Just need a default "colour on black" version without fiddling with the CSS.

I wish this had been around when I was doing my last blog post; would have saved a lot of messing around with TextMate's HTML generation.

Bookmarked!

Re:Ask HN: review my tiny app - code to html converter by alexkay on Monday September 14, 2009 @09:53AM (#821629)
I'm using this CSS for my own "colour on black" blog:

  color:white;background:black;border:solid gray;border-width:.1em .1em .1em .8em;padding:.2em .6em;
You basically just swap the color and the background styles. Also, for best results select the "fruity" color style.

By the way, the CSS and the style are remembered in the cookies, no need to re-type them on each visit.

Re:Ask HN: review my tiny app - code to html converter by felideon on Monday September 14, 2009 @10:21AM (#821683)
With the fruity style, keywords seem to render white (on a white background) so they go invisible.

Is this intentional for black backgrounds as you mentioned? If so, changing to fruity should change the default CSS.

Re:Ask HN: review my tiny app - code to html converter by alexkay on Monday September 14, 2009 @10:24AM (#821686)
Yes, the "fruity" style (and to some extent "native") is for dark backgrounds.

Changing the default CSS if they are selected is a good idea, thanks!