Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

PHP syntax highlighting added to Enhanced BBCode

edited December 2005 in Vanilla 1.0 Help
To whomever is interested (developers most likely), I have added an extension that is a PHPCode expansion to the "Enhanced BBCode". This extension simply adds the ability of using [php] tags to show syntax highlighting of code blocks. It also adjusts the existing [code] tags to allow for some display discrepencies. Please let me know if you see any issues or let me know any input (positive or negative) if you try it out! You can use it as its own extension (PHPCode), or you can replace your BBCode extension and it adds the PHPCode functionality to it. Thanks for any input for improvement!

Comments

  • Options

    Cool... [php] is good for actionscript too!

  • Options
    lechlech Chicagoland
    or just about any other code which needs some highlighting :)
  • Options
    cool... i hope it's useful enough for other people, too!
  • Options
    Iam dreaming of latex.. well not _that_ latex :-D -> [latex][/latex] ^^
  • Options
    i'm going to show my ignorance... what would [latex] tags be used for?
  • Options
    Typesetting, mainly.
  • Options
    so, is there a specific syntax or typical color scheme? if somone can give me a resource, i'd be happy to work on a mod for it.
This discussion has been closed.