Last active
October 17, 2022 14:59
-
-
Save aquatix/82f8df145ae77a1160f58d894ddb7791 to your computer and use it in GitHub Desktop.
Obsidian Prism frontmatter highlighting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* color YAML value text */ | |
span.cm-meta.cm-hmd-frontmatter + span.cm-hmd-frontmatter { | |
/* color: blue; */ | |
color: var(--orange200); | |
} | |
/* color YAML value - if it's a number */ | |
span.cm-number.cm-hmd-frontmatter { | |
/* color: pink !important; */ | |
color: var(--pink300) !important; | |
} | |
/* color YAML key text */ | |
span.cm-atom.cm-hmd-frontmatter { | |
/* color: green; */ | |
color: var(--green200); | |
} | |
/* color YAML separator text */ | |
span.cm-meta.cm-hmd-frontmatter { | |
/*color: red;*/ | |
color: var(--text-faint); | |
} | |
/* Divider line */ | |
span.cm-def.cm-hmd-frontmatter { | |
color: var(--text-faint) !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment