Open alexfinnarn opened 6 years ago
I started something in feature/1
branch, but the language settings need to be converted from objects to an array for the select list to work.
Then, a CDN option should be added or just a checkbox for adding the CDN pointing to something like https://cdnjs.com/libraries/highlight.js/.
At the end of the day, the current options of syntax highlighting cover most Backdrop developer needs and adding the CDN option can easily break when the library is hosted a different way.
Users can't add any more languages than what is set in the code at this point. A config page should be made that allows users to add/remove languages from the select list as well as point to a CDN version of the highlight.js library.