Skip to content

Syntax highlighting for Splunk Query Language via CodeMirror Mode Definition

Notifications You must be signed in to change notification settings

supercerealized/spl-syntax-highlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spl-syntax-highlighter

Syntax highlighting for Splunk Query Language (spl) in Obsidian

This plugin creates CodeMirror Mode Definition (splunk)

You should be able to clone the repo directly into your plugins directory

  • C:/.../YOUR_VAULT/.obsidian/plugins <-- navigate to here and git clone or clone elsewhere and copy it over

Use "splunk" when defining the markdown codeblock like below

```splunk index=main user=supercerealized | stats count by user ```

I'll add options to the UI for the plugin later

  • In the meantime, if you want to mess with colors edit the CSS file in .obsidian/plugins/spl-syntax-highlighter/styles.css

TODO:

  • UI Options
  • Tick mark comment identification

About

Syntax highlighting for Splunk Query Language via CodeMirror Mode Definition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published