How to use Cornerstone Code Snippet Element?

Can someone provide a link that explains how to use the Cornerstone Code Snippet element?

A few examples of it in use would also be very helpful.

My use case involves displaying code with syntax highlighting and I can’t figure out if this can be accomplished with this Cornerstone Code Snippet element.

Thanks,

Dale

Hi Dale,

Thank you for writing in, do you mean a color scheme just like on some text editor application (Sublime, Notepad++ or Dreamweaver)? Regretfully the Code Snippet element is not capable of that, I’ll add that as an enhancement request for the element.

For now you can try this plugin here’s a documentation.

Thanks,

Hi Friech,

Thank you!..

Yes, what you described was exactly what I was searching for.

Seems natural for the Cornerstone Code Snippet element to provide the functionality of the CodeColorer plugin your referred me to so thanks for taking that as an enhancement request.

Also, thanks for the link to CodeColorer and documentation…this is exactly what I was searching for but for some reason did not come to my attention during my search.

All good now!

Cheers,

Dale

You’re most welcome, Dale. :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.