codemirror / codemirror5

In-browser code editor (version 5, legacy)
http://codemirror.net/5/
MIT License
26.84k stars 4.97k forks source link

Add syntax highlighting / mode for Splunk (SPL) #7063

Closed chadbaldwin closed 1 year ago

chadbaldwin commented 1 year ago

Hopefully this is the right place to go. I'm an avid user of PasteBin, which appears to use codemirror. I noticed that Splunk / SPL is not currently a supported language mode, so thought I would give it a shot and put a request in here in hopes it could eventually show up as an option within PasteBin.

In case it helps, it appears someone created an SPL definition for highlight JS. I figured I would include it here, maybe it will help with creating a definition in codemirror's system format:

https://github.com/swsoyee/highlightjs-spl

Edit: Huh, I guess Slack uses codemirror as well, so it'd be awesome to see Splunk/SPL formatting available there one day as well 😁

marijnh commented 1 year ago

No new modes are added or accepted in this project. The recommended way to build/distribute them is as a separate package.