Skip to content

Displays text, especially source code, in different colors and fonts

License

Notifications You must be signed in to change notification settings

friends-of-sunlight-cms/syntax-highlighter-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Syntax Highlighter Plugin

Implemantation syntax highlighting for the Web (https://highlightjs.org/)

Requirements

  • SunLight CMS 8

Installation

Copy the folder 'plugins' and its contents to the root directory

or

Installation via administration: 'Administration > Plugins > Upload new plugins'

Usage

Automatically highlights code enclosed in BBCode [code]

Supported syntaxes

This is only a selected list of 180 supported highlighting options.

  • Apache config
  • HTML
  • HTTP
  • JavaScript
  • JSON
  • Less
  • Markdown
  • Nginx config
  • PHP
  • CSS
  • SCSS
  • SQL
  • Twig
  • XML