News:

Wondering if this will always be free?  See why free is better.

Main Menu

PrismJS for SMF

Started by Bugo, August 03, 2023, 09:20:17 PM

Previous topic - Next topic

Bugo

Link to the mod

This script highlights syntax in the code blocks on SMF forums.

  • It is necessary to specify the language used:

    [code=html]<h1>Hello world</h1>[/code]

    .
  • You can specify the default language in settings and then short syntax will be available:

    [code]echo 'How are you?';[/code]

  • The theme style can be changed (8 styles).
  • 260 supported languages.

This mod uses PrismJS script of Lea Verou and contributors.

Available translations:
  • English
  • Russian
  • French
  • Spanish


mickjav

Thanks for this, been looking for something like it for my Code Library, It even does VBA  ;D

All the best mick

gevv

I like PrismJS. Coloring is better. Thanks @Bugo
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Advertisement: