Avatar

BBCode for [code]? (Features)

by Alex ⌂, Thursday, March 22, 2007, 19:54 (6242 days ago) @ bttr

Hi Robert,

The GNU diff patch for mlf 1.5.4 or 1.6.2 is available at http://www.bttr-software.de/tmp/parse_code.zip.

That's interesting but it replaces indentations by something like "&nbsp; &nbsp; ". Actually <pre> is here more appropriate (one of the advantages of the BBCode class is better HTML output). How about two types of bbcodes: [ code] and [codeblock]? Maybe a little bit confusing?

I just downloaded phpBB to see how they've solved that. Indeed they don't use <pre> (not even <code>) but nevertheless inline code isn't possible.

locked
20773 views

Complete thread:

 RSS Feed of thread