[haiku-web] Recent haiku-os.org CSS code tag changes and syntax highlighting

Hi,

I don't agree with the CSS changes to the code tag which make it
displayed as a block. Sometimes you want to have code inline and that
is generally what the code tag is for. If you want code displayed in a
block it can be put inside a pre tag.

This change is messing up some of the inline code I have in my layout
system article. So please change that back.

I have also fixed up the syntax highlighting on said article. Though I
like the darker background I can understand how that did not fit well
on the site and may have been hard to read.

On this note do we have a standard syntax highlighting style for the
site? It might be nice to get one and apply it to the Coding
Guidelines as one example. I am a particular fan of a low contrast
style, such as peaksea (formerly ps_color) for VIM, available here:
http://www.vim.org/scripts/script.php?script_id=760

Though I suppose we could design a nice syntax style that matches the
site. In addition we would need a tool to mark up code with span
elements with the proper classes, etc. For the above article I used
VIM's HTML output which is ugly old-school font tag HTML. I'm sure
there are tons of tools available, maybe even a Drupal module. We
obviously have something on Trac for this too.

-- 
Regards,
Ryan
-----------------------------------------------------------------------
haiku-web@xxxxxxxxxxxxx - Haiku Web & Developer Support Discussion List

Other related posts: