From: Duncan C. <dun...@wo...> - 2005-04-19 01:09:40
|
On Mon, 2005-04-18 at 22:32 +0100, Duncan Coutts wrote: > See the attached files for details. Save them to gtk2hs/docs/tutorial or > somewhere (if you put it somewhare else adjust the 'top' var in the > Makefile) and run > $ make > to build the HelloWorld example. And this is what it looks like using our web style sheet: http://atmarama.org/gtk2hs/archives/2005/04/18/more-txt2tags-testing/ We'll want to tweak the CSS for the code section since the font and line spacing are not quite right for code. Also we'll have to be careful not to use code examples with lines longer than about 75ish columns. It looks like there is a WP bug that messes up href links inside <pre> elements. That may have been fixed in 1.5 final (the atmarama site is running a 1.5 pre-release). If that's still the case in 1.5 final we can work around it by using <div class="haskellcode"> and then setting the appropriate style via CSS. Duncan |