GDScript Syntax Highlighting

approved

by RobTheFiveNine

Add live GDScript syntax highlighting to code block.

38 stars4,566 downloadsUpdated 2mo agoMPL-2.0
View on GitHub

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/.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.