RobTheFiveNine / obsidian-gdscript

Adds live GDScript syntax highlighting to code blocks in the Obsidian editor.
Mozilla Public License 2.0
20 stars 0 forks source link

Obsidian GDScript Syntax Highlighting Plugin

This plugin for Obsidian provides live syntax highlighting for GDScript (the language used in Godot).

To use the plugin, install it, and then add a code block with the word gdscript immediately after the three backticks.

An example of the highlighting can be seen below:

Setup

This plugin is now part of the verified community plugins! To install, just open the community plugins window and search for "GDScript Syntax Highlighting" and hit the install button.

Setup (Manual Method)

If you wish to install the plugin manually:

  1. Navigate to the vault you wish to install it in using your file explorer
  2. Navigate into the .obisidian directory, and in there, go into the plugins directory
  3. Create a new folder in here named gdscript-syntax-highlighting
  4. Head over to the Latest Release and download the main.js and manifest.json files into the newly created folder.
  5. Open the settings window in Obsidian and enable the plugin in the Community plugins section

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.