Syntax Highlighter 3 using autoloader

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28808
Joined: Sat Aug 16, 2003 7:36 am

Syntax Highlighter 3 using autoloader

Post by Extensions Robot »

Modification name: Syntax Highlighter 3 using autoloader
Author: randomessence
Modification description: Please check the FAQ for Update info and tweaks.

This is a very simple,stable, fully working Syntax 3 highlighter mod for phpbb3 based on Syntax Highlighter 3 by Alex Gorbatchev. It uses javascript to prettify code used in a custom bbcode.
  • 42 brushes covering 60'ish syntax included. This mod uses autoloader.js to dynamically load brushes as and when they are called instead of each brush being permanently embedded and loaded in the page source.
Works with automod on a phpbb3 3.0.11 and should be pretty much update proof and backward compatible with older versions since there are only 4 simple edits. and no phpbb 3 core code is edited or changed.
  • This version uses the scripts from the github repo for Alex's Syntax Highlighter 3. There are a few tweaks and fixes over the normal files found on his website, such as the use of XRegExp 3.0
Themes can be easily changed via the ACP. Includes custom themes as long as they are uploaded to the existing themes folder.

Manually applied fixes

xregexp 3 pre using a snippet of javascript as detailed here #127

Bash brush improvements #75

improved C Sharp bush #111

shAutoloader.js duplicate loading and html-script support #139

(Java multiline comment greedy Regexp) #150

fix stripCData('ab')=='' #153

a = '"' was starting a multiline string, but it should not have #112

Modified keywords, strings, and value in Python brush #155

multiline comments for SQL #156

Add missing C++11 keywords #158

PHP brush updated functions, keywords, constants & variable #159

Perl Fix syntax highlighting for adjacent pod blocks #163

Perl Correctly highlight dereferenced vars (double sigils) #164

Added missing reserved keywords for JavaScript #169

custom fix for 2 phpbb 3 issues. the replacement of
and unindents/tabs see support section of this mod.

Biferno Brush #66 dlan brush #154 haze brush #151 logtalk brush #118 lasso brush #124

Supported Languages(59):

ACTIONSCRIPT ADA ASSEMBLER_ASM ASSEMBLER_NASM ASSEMBLER_MASM APPLESCRIPT AUTOHOTKEY

BASH BIFERNO BATCH

CSHARP CPLUSPLUS CLOJURE CMD COCOA COFFEE_SCRIPT COLDFUSION CSS

D DELPHI DIFF

ERLANG

FSHARP

GROOVY

HAXE HTML

JAVA JAVAFX JAVASCRIPT

LASSO LATEX LOGTALK LSL LUA

MATHEMATIC MATLAB

OBJECTIVE_C

PASCAL PERL PHP PLAIN_TEXT POWERSHELL PROCESSING PYTHON PYTHON3

ROUTEROS RPG ILE_RPG RUBY

SAHI SASS SCALA SHELL SQL

VISUAL_BASIC

YAML

XHTML XML XSLT
Modification version: 1.2.0
Tested on phpBB version: 3.0.11

Download file: syntax3phpbb3mod.1.2.0.zip
File size: 252.36 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 14, 2020 12:37 pm, edited 26 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5515
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Syntax Highlighter 3 using autoloader

Post by Marc »

Modification validated/released
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5515
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Syntax Highlighter 3 using autoloader

Post by Marc »

MOD Updated to version 1.1.3
See first post for Download Link
User avatar
Marc
Development Team Leader
Development Team Leader
Posts: 5515
Joined: Tue Oct 30, 2007 10:57 pm
Location: Munich, Germany
Name: Marc
Contact:

Re: Syntax Highlighter 3 using autoloader

Post by Marc »

MOD Updated to version 1.2.0
See first post for Download Link
Locked

Return to “[3.0.x] MOD Database Releases”