Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    JSON in Obsidian theme

    Help wanted · · · – – – · · ·
    2
    2
    478
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Kale Janeth
      Kale Janeth last edited by

      I mostly use the Obsidian theme, and upon trying just JSON highlighting instead of JavaScript highlighting I found it wasn’t included in the theme.

      In fact, it appears JSON rules are only defined in Default and DansLeRuSH-Dark in the version I’m using (7.8.7, I checked Obsidian in 7.8.9 and JSON is also missing).

      Are there any plans to add (or even just copy-paste from DansLeRuSH-Dark) the JSON highlighting to Obsidian, or should I manually do it, or is the best option to just use JavaScript highlighting and ignore JSON altogether?

      Michael Vincent 1 Reply Last reply Reply Quote 0
      • Michael Vincent
        Michael Vincent @Kale Janeth last edited by

        @Kale-Janeth said in JSON in Obsidian theme:

        or should I manually do it

        This is normally your best option for themes since they aren’t upgraded along with the default theme to include new languages or even new parsing / types for existing languages.

        Lucky for you I use Obsidian as well and I have already updated most of the missing languages and styles. Note you may want to cut/paste from this one or keep your existing Obsidian.xml backed up as I have some global formatting changes to text and color as well under the last GlobalStyles section. Maybe a diff between mine and yours will help you “migrate”.

        Good luck!

        Cheers.

        1 Reply Last reply Reply Quote 7
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors