Feature Reqquest - Code Syntax Highlighting
Permalink Browser Info Environment
It sure would be a nice improvement to Theme Designer if you added code syntax highlighting for all the code areas. Couldn't you plug in something likehttp://highlightjs.org/ ?
Type: | Discussion |
---|---|
Status: | Resolved |
Like, dislike, or for some unknown reason not practical?
Not sure how good it would work upon pasting/writing code in the textareas. I'm currently swamped with a big project though (and little side projects), so I got this bookmarked.
If you are willing to have a go at implementing it and sending me the changes/additions, don't mind if you do. Will save me some trouble with current deadlines.
Kind regards,
Ramon
If you are willing to have a go at implementing it and sending me the changes/additions, don't mind if you do. Will save me some trouble with current deadlines.
Kind regards,
Ramon
I don't know if/when I could get to trying this myself, so whomever can pull it off first...
As to "how good it would work upon pasting/writing code in the textareas", I'm not sure if it's the right library for the job either. On that note, however, I did also just find this alternative
http://ace.c9.io/
And from this demo of it in action I'd say it looks very promising
https://ace.c9.io/build/kitchen-sink.html...
In fact, the only reason I stumbled upon it was because I saw it is what this new add-on is using
https://www.concrete5.org/marketplace/addons/highlight-file1/...
Regards,
Owen
As to "how good it would work upon pasting/writing code in the textareas", I'm not sure if it's the right library for the job either. On that note, however, I did also just find this alternative
http://ace.c9.io/
And from this demo of it in action I'd say it looks very promising
https://ace.c9.io/build/kitchen-sink.html...
In fact, the only reason I stumbled upon it was because I saw it is what this new add-on is using
https://www.concrete5.org/marketplace/addons/highlight-file1/...
Regards,
Owen