res:plugins:syntaxhighlighter-ng
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| res:plugins:syntaxhighlighter-ng [2023/06/21 11:21] – [Description] deltalima | res:plugins:syntaxhighlighter-ng [2023/11/21 23:59] (current) – [Download] Added SyntaxHighlighter-NG Leggero-Edition fraenkiman | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== SyntaxHighlighter-NG ===== | ===== SyntaxHighlighter-NG ===== | ||
| - | Author: [[https://DeltaLima|DeltaLima]] | + | Author: [[https://deltalima.org|DeltaLima]] |
| ==== Description ==== | ==== Description ==== | ||
| Makes [code] blocks syntax highlighted (when language specified) with [[https:// | Makes [code] blocks syntax highlighted (when language specified) with [[https:// | ||
| - | By default the full prism.js language support is enabled, | + | By default the " |
| + | This contains following supported language tags by default: | ||
| + | |||
| + | < | ||
| + | markup, css, clike, javascript, apacheconf, arduino, atom, bash, basic, batch, | ||
| + | bbcode, c, cpp, cmake, csv, diff, docker, git, go, html, http, ini, java, json, | ||
| + | log, makefile, markdown, markup-templating, | ||
| + | powershell, python, rss, ruby, shell-session, | ||
| + | visual-basic, | ||
| + | </ | ||
| + | |||
| + | See [[https:// | ||
| - | If you want, you can also use the included " | ||
| - | You find there as well how to change the prism.js theme. | ||
| ==== Example ==== | ==== Example ==== | ||
| ** no syntax highlightning ** | ** no syntax highlightning ** | ||
| Line 26: | Line 35: | ||
| </ | </ | ||
| {{: | {{: | ||
| + | |||
| + | ==== Configuration ==== | ||
| + | |||
| + | You can configure the prism.js package size to use (tiny, small, full) and the used theme (coy, dark, default, funky, okaidia, solarizedlight, | ||
| + | |||
| + | Just edit for that config.php | ||
| ==== Download ==== | ==== Download ==== | ||
| - | [[https:// | + | [[https:// |
| + | |||
| + | or get the [[https:// | ||
| + | |||
| + | For users of the FlatPress-Leggero theme: {{ res: | ||
| + | |||
| + | ==== Demo ==== | ||
| + | [[https:// | ||
| - | **Support** | + | ==== Support |
| Please ask for help on the [[https:// | Please ask for help on the [[https:// | ||
res/plugins/syntaxhighlighter-ng.1687339263.txt.gz · Last modified: by deltalima
