You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117166 Codesample. Parametrs for Prism.js manual build used by default

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by servett on Monday, 07 April 2025 12:28 BST

servett

Hello.

When you want to add language to CodeSample you need to manually built Prism.js

But there is no information which languages and parametrs are used in plugin in install arhive.

Can you please tell what shoud i choose on Prism.js page?? (https://prismjs.com/download.html)

In future versions maybe it will be usefull to add text file to plagin arhive with this info ??

 

Thank you!

 

Ryan

The default languages are:

markup+css+clike+javascript+bash+json+markup-templating+php+powershell+sql+yaml

The full prism download url for CodeSample 2.0.0 (coming soon) is:

https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+json+markup-templating+php+powershell+sql+yaml&plugins=line-numbers+toolbar

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

servett

Thank you!)