From f2a43499b5feeec1ecd32eaf63754bc0ea78d4b1 Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Wed, 21 Jun 2023 01:23:19 +0200 Subject: [PATCH] README.md update --- README.md | 7 +++++-- plugin.syntaxhighlighter.php | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5fd21ac..35e353a 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,13 @@ See the https://prismjs.com/#supported-languages for all supported languages by The included `prism.small.js` just has the most popular I know: ``` -Markup + HTML + XML + SVG + MathML + SSML + Atom + RSS + CSS + C-Linke + JavaScript + Apache + Bash + Batch + BBCode + C + C# + C++ + CSV + Diff + Go + HTTP + ini + Java + JSON + Makefile + Markdown + nginx + Perl + PHP PowerShell + Python + Ruby + Shell session + SQL + VB.Net + Wiki markup + YML +Markup, HTML, XML,SVG, MathML, SSML, Atom, RSS, CSS, C-Linke, JavaScript +Apache, Bash, Batch, BBCode, C, C#, C++, CSV, Diff, Go, HTTP, ini, Java +JSON, Makefile, Markdown, nginx, Perl, PHP, PowerShell, Python, Ruby +Shell session, SQL, VB.Net, Wiki markup, YML ``` -To change the theme, choose your favorite from https://prismjs.com and place it into `fp-plugins/syntaxhighlighter/res/`. +To change the theme, your favorite from https://prismjs.com and place it into `fp-plugins/syntaxhighlighter/res/`. Then look after the block `` in `fp-plugins/syntaxhighlighter/plugin.syntaxhighlighter.php` and change the following line: ``` diff --git a/plugin.syntaxhighlighter.php b/plugin.syntaxhighlighter.php index 8ec3106..2b9a90b 100644 --- a/plugin.syntaxhighlighter.php +++ b/plugin.syntaxhighlighter.php @@ -49,7 +49,7 @@ function plugin_syntaxhighlighter_foot() { echo << - +