SMF 2.0.19 has been released! Please update. Read more.
Started by X3mE, February 02, 2009, 11:43:32 AM
[ code=langname]Some code here...[/ code]
[entry]attribute = variableattribute = variableattribute = variable
Quote from: regularexpression on February 02, 2009, 12:26:55 PMI think this might be the same script i integrated in the summer, but ditched because of buggy parsing of php code.
Quote from: Nas on February 02, 2009, 12:27:34 PMLooks nice
[Cockpit]mesh = cockpits\civilian\models\cv_cockpit.cmpint_brightness = 0.500000head_turn = 35, 15[TurretCamera]tether = 0.000000, 12.970000, 41.888000yaw_rotate_speed = 2.000000pitch_rotate_speed = 1.500000accel_speed = 5
Quote from: X3mE on February 02, 2009, 12:43:23 PMQuote from: regularexpression on February 02, 2009, 12:26:55 PMI think this might be the same script i integrated in the summer, but ditched because of buggy parsing of php code.TBH, I haven't tested highlighting thoroughly for various pieces of code yet, but I did see on the project home page that there are some issues with parsing "complicated" code. Should be fine for most cases, though.Since Geshi prohibits distribution for SMF, this is the best replacement I could find (plus, it does everything on the client side , unlike Geshi), and I desperately needed this for one of my forums.Quote from: Nas on February 02, 2009, 12:27:34 PMLooks nice Thanks