Community
    • Login

    JSON in Obsidian theme

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 1.2k Views
    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 JanethK Offline
      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 VincentM 1 Reply Last reply Reply Quote 0
      • Michael VincentM Offline
        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 6

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors