EQnoble
Well-known member
XenXero Syntax Highlighter
powered by Google Prettify
____________________________________
Requirements: King Kovifors BBCM ( BBcode Manager ) , xxsY_bbcode
Simple explanation: A js based syntax highlighter addon
Long winded: Another quick addon I finally got around to making possible without template edits being required for the end users of this mod. This basically colorizes code based on language which it auto detects. The addon package includes a bbcode which must be imported into BBCM which is what allows the end user to print out beautiful looking code snippets of many languages.
To test it register@... http://xenxero.com/threads/xxsy-demo-thread.12/
Thanks very much to Jake Bunce who basically took the foul attempts I made at stripping the url tags and showed me the right way to apply it.
Usage: [syntax]paste code here[/syntax]
_________________________________
Installation:
- Extract the contents of the xxsY.v.1.1.0.zip file.
- Upload the contents of the UPLOAD directory to the folder you have xenforo installed in.
- Install/import the addon-xxsY.xml
- Import the bbcode_syntax.xml into the custom BBcode manager
Upgrade:
- Extract the contents of the xxsY.v.1.1.0.zip file.
- Upgrade addon with the addon-xxsY.xml file from the zip file.
- Delete the old bbcode and re-import the new one.
updated 10.11.11