First of all, I have Magento 22.214.171.124 Installed.
I've been looking for a while for a way to display code in the text, and let it be copied. Do I need a plugin/extension/widget that allows me to display code like this? Or can Magento do it? But the code looks good, with colors, such as the following image:
I noticed this is a syntax highlighting plugin developed for MooTools. Is there anything for Magento?
Hi there, I'm not aware of an existing extension that allows you to do that. It might be easiest to implement it yourself via a lightweight plugin and a CMS page or block.
Thank you for your reply Francis Kim!
What do you mean with a lightweight plugin? Do you know of any?
I found this plugin, although I don't know if I must install any files in a certain place of my magento files. https://highlightjs.org/usage/
Can anyone help?
I've never seen a WYSIWYG editor in Magento that formats the code.
It could be done, yes, however someone would have to build a extension to get those code libraries to work with Magento.
Are you trying to display code examples on Product Pages or are you attempting to blog on your Magento store?