Plugin SyntaxHighlighter-NG

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
User avatar
DeltaLima
Posts: 16
Joined: Mon Jun 19, 2023 2:04 pm

Plugin SyntaxHighlighter-NG

Post by DeltaLima » Wed Jun 21, 2023 9:15 am

I saw quite every FlatPress Plugin has an forum post for support, so here it is for SyntaxHighlighter-NG :)

Find it in the Wiki: https://wiki.flatpress.org/res:plugins: ... lighter-ng

Find it in my Git: https://git.la10cy.net/DeltaLima/flatpr ... lighter-ng

Little demo on my website: https://deltalima.org/blog/index.php/sy ... -testpage/

Hope it will work well for you :)

User avatar
fraenkiman
Posts: 253
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Plugin SyntaxHighlighter-NG

Post by fraenkiman » Sun Jun 25, 2023 1:38 pm

Hello DelteLima,

thank you very much for providing us with this plugin. Cool Stuff :+1:.

With best regards
Fank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
fraenkiman
Posts: 253
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Plugin SyntaxHighlighter-NG

Post by fraenkiman » Tue Nov 21, 2023 11:11 pm

Hello everyone,

I have created a fork of DelaLima's SyntaxHighlighter-NG and modified it a bit.
This may be interesting for all new FlatPress users who use the standard Leggero theme. The plugin now recognizes when one of the three Leggero styles is used and selects the appropriate prism theme. In such cases, it is no longer necessary to modify the CSS files.

This version is also available for download via the wiki.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
DeltaLima
Posts: 16
Joined: Mon Jun 19, 2023 2:04 pm

Re: Plugin SyntaxHighlighter-NG

Post by DeltaLima » Tue Nov 28, 2023 12:14 am

Hi Frank, thats pretty cool! :)

I guess moving the plugins "home" to your flatpress-plugins repo might be the best thing, so it get maintained at one place only :)

Best!

User avatar
fraenkiman
Posts: 253
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: Plugin SyntaxHighlighter-NG

Post by fraenkiman » Thu Nov 30, 2023 11:26 pm

Hello DeltaLima,

I have added the plugin to my repository, keeping the license type MIT.
I would also like to include the plugin centrally in the FlatPress extras - if that is in your interest. However, all FlatPress extras run under GPL v2.0 instead of MIT.
These licensing questions are not my thing. I'll find out more. As soon as I know more, I'll let you know.

With best regards
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

User avatar
Arvid
FlatPress Coder
Posts: 590
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Plugin SyntaxHighlighter-NG

Post by Arvid » Sat Jan 20, 2024 9:08 pm

DeltaLima,

thank you for that great plugin, looks awesome! (And even with JS turned off, still readable and smooth.)
As I just emailed Fraenkiman, we could easily add the plugin to the flatpress-extras repo without changing the license. That would then be one MIT plugin and a bunch of GPL plugins, no problem :)

All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests