SyntaxBoom

General Category => General Discussion => SyntaxBoom.com => Topic started by: Jackdaw on Jul 01, 2025, 06:25 PM

Title: Code Highlighting
Post by: Jackdaw on Jul 01, 2025, 06:25 PM
New and Improved Syntaxboom
Now includes brackets.
Well mostly includes some brackets..*

Now your code can look as colourful as your underpants after being worn continuously for four weeks. Just follow the handy guide over at the highlight.js github supported languages (https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md) page, that we've graciously provided for your viewing pleasure.

Usage:
Just add code=language_to_use as your start code tag to your block of code, and hay-presto. Your world is no longer black and white.+

Oh where's the Blitz Research stuff I hear you ask. Well look no further. Just add one of the psychedelic code options below.

Blitz3D: blitz3d, b3d
BlitzMax/BlitzMax-NG: blitzmax, bmx, bmx-ng
Monkey-X/Cerberus-x: cerberus, monkeyx
Monkey 2: monkey2, mx2

Now go on and colour your world.

+NOTE: No colours, then refresh your web browser.
*Disclaimer: Syntaxboom is not responsible if: a) your code doesn't work. b) If your code looks stupid with or without brackets. c) You cannot code to save your life. d) Seeing colour gives you headaches and makes you vomit. e) You frequent this site because you are the original Billy No Mates. f) Well f because I just felt like it.[/b
Title: Re: Code Highlighting
Post by: Steve Elliott on Jul 01, 2025, 06:43 PM
Oooo Administrator.  ;D
Title: Re: Code Highlighting
Post by: Baggey on Jul 02, 2025, 05:01 AM
Quote+NOTE: No colours, then refresh your web browser.
*Disclaimer: Syntaxboom is not responsible if a) your code doesn't work. b) If your code looks funny with or without brackets. c) You cannot code to save your life. d) Seeing colour gives you headaches and makes you vomit.

Good, I like adding a bit of color to my posts. I think it adds a bit of depth and meaning.

I used to like doing Red and White as a superscript color.  ::)
Title: Re: Code Highlighting
Post by: Dabzy on Jul 02, 2025, 06:00 AM
@Jackdaw

Beautiful job!!!  8)  8)  8)

Dabz
Title: Re: Code Highlighting
Post by: Baggey on Jul 02, 2025, 07:31 PM
Ohh Dark theme and multi colored syntax.

Im going to get my tissue's  :-X