Advertisement:

Navigation

SMF Mod Site

Mod Name:
Code Highlighting
Created By:
Bugo
Type:
BBC
First Created:
February 01, 2011, 07:55:41 AM
Last Modified:
July 06, 2017, 06:17:24 AM
Latest Version:
1.2
Compatible With:
2.0, 2.0.9, 2.0.11, 2.0.14
Total Downloads:
2868

Download this mod

code_highlighting.zip (105kB) [72]
Manual Install Instructions for SMF


Below are some preview images of what the mod looks like when being used

Description:

This script highlights syntax in code examples on your forum.
It is very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.
Supported languages: HTML/XML, Javascript, CSS, PHP, Ruby, Perl, Python, C++, C#, Java, SQL, Bash etc.


How to use? Very simply!
[code]your code[/code]

Advanced using
[code=language]your code[/code]

Features:

  • You can choose code formatting scheme
  • You can choose font size within code blocks
  • Highlighting works automatically: finds blocks of code, detects a language, highlights it — you don't need specify any language

Available translations:
  • English
  • Russian

Russian support