Skip to content

Commit dd9942d

Browse files
Initial commit
0 parents  commit dd9942d

File tree

14 files changed

+3308
-0
lines changed

14 files changed

+3308
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[*.{js,json,yml}]
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 2

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/.yarn/** linguist-vendored
2+
/.yarn/releases/* binary
3+
/.yarn/plugins/**/* binary
4+
/.pnp.* binary linguist-generated

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [RobTheFiveNine]

.github/images/example.png

71.3 KB
Loading

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.yarn/*
2+
!.yarn/patches
3+
!.yarn/plugins
4+
!.yarn/releases
5+
!.yarn/sdks
6+
!.yarn/versions
7+
8+
# Swap the comments on the following lines if you wish to use zero-installs
9+
# In that case, don't forget to run `yarn config set enableGlobalCache false`!
10+
# Documentation here: https://yarnpkg.com/features/caching#zero-installs
11+
12+
#!.yarn/cache
13+
.pnp.*
14+
15+
# build fragments
16+
dist/

.yarn/releases/yarn-4.2.1.cjs

Lines changed: 894 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarnPath: .yarn/releases/yarn-4.2.1.cjs

LICENSE

Lines changed: 373 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Obsidian GDScript Syntax Highlighting Plugin
2+
3+
This plugin for Obsidian provides live syntax highlighting for GDScript (the language used in [Godot](https://godotengine.org/)).
4+
5+
An example of the highlighting can be seen below:
6+
7+
![](.github/images/example.png)
8+
9+
## Setup (manual)
10+
The plugin is going to be submitted to the Obsidian team to hopefully be approved as a community plugin, but for now, if you wish to install the plugin manually.
11+
12+
1. Navigate to the vault you wish to install it in using your file explorer
13+
2. Navigate into the `.obisidian` directory, and in there, go into the `plugins` directory
14+
3. Create a new folder in here named `gdscript-syntax-highlighting`
15+
4. Head over to the [Latest Release](https://github.com/RobTheFiveNine/obsidian-gdscript/releases/latest) and download the `main.js` and `manifest.json` files into the newly created folder.
16+
5. Open the settings window in Obsidian and enable the plugin in the `Community plugins` section
17+
18+
## License
19+
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/.

manifest.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"author":"RobTheFiveNine",
3+
"authorUrl": "https://github.com/RobTheFiveNine/obsidian-gdscript",
4+
"description": "Adds live GDScript syntax highlighting to code blocks in the Obsidian editor.",
5+
"fundingUrl": "https://github.com/sponsors/RobTheFiveNine",
6+
"id": "gdscript-syntax-highlighting",
7+
"isDesktopOnly": false,
8+
"minAppVersion": "1.5.12",
9+
"name": "GDScript Syntax Highlighting",
10+
"version": "1.0.0"
11+
}

0 commit comments

Comments
 (0)