[3.3][A1] Prism JS syntax highlighter ⚡️

🆓
Adds syntax highlighting to code blocks using prism.js


Locked
User avatar
3Di
Founder
Founder
Posts: 1141
Joined: 12 Mar 2018 20:10
Location: Germany
Contact:

[3.3][A1] Prism JS syntax highlighter ⚡️

Post by 3Di »

✍️ Prism JS syntax highlighter ⚡️

             » phpBB Studio
                      :label: 1.0.0
                       :tools:        
                               phpBB >= 3.3.0

Description:

  • Adds syntax highlighting to code blocks using prism.js

  • Comes with a dark theme

  • Adds a copy-to-clipboard button

  • Adds a visual name reference for the highlighted language

  • List of all 221 languages currently supported by Prism languages

:inbox_tray: Download: extensions/prism-js-syntax-highlighter

:bookmark_tabs: Repository: https://github.com/phpBB-Studio/PrismSyntaxHighlighter

:bookmark_tabs: BugTracker: https://github.com/phpBB-Studio/PrismSy ... new/choose

Credits:
This extension borrowed some code from the s9e/highlighter which has been developed by JoshyPHP.
There was not really the need to re-invent the wheel, thanks. 👍

A good silence was never written :P


User avatar
3Di
Founder
Founder
Posts: 1141
Joined: 12 Mar 2018 20:10
Location: Germany
Contact:

[3.3][A1] Prism JS syntax highlighter ⚡️

Post by 3Di »

Usage :idea:

[code=php][/code]

[code=twig][/code]

[code=css][/code]

Etc, see the list in the first post.

No language declared means feature disabled. ;)

A good silence was never written :P


User avatar
3Di
Founder
Founder
Posts: 1141
Joined: 12 Mar 2018 20:10
Location: Germany
Contact:

[3.3][A1] Prism JS syntax highlighter ⚡️

Post by 3Di »

Image

A good silence was never written :P


Locked