No description
Find a file
2023-05-21 02:55:54 +02:00
src Update codeEditorView.ts 2023-05-21 02:55:54 +02:00
.editorconfig Initial commit 2023-03-21 18:07:36 +01:00
.eslintignore Initial commit 2023-03-21 18:07:36 +01:00
.eslintrc Initial commit 2023-03-21 18:07:36 +01:00
.gitignore upgrade release process 2023-04-06 23:40:18 +02:00
.npmrc Initial commit 2023-03-21 18:07:36 +01:00
dev.md docs 2023-03-24 01:45:01 +01:00
esbuild.config.mjs clean up 2023-03-23 18:01:41 +01:00
homepagedata.json update homepagedata 2023-03-24 20:19:57 +01:00
img.png docs 2023-03-24 01:45:01 +01:00
img_1.png docs 2023-03-24 01:45:01 +01:00
img_2.png add screenshot 2023-03-24 01:51:46 +01:00
LICENSE license 2023-03-24 20:26:46 +01:00
manifest.json chore(release): 1.0.7 2023-05-18 13:48:56 +02:00
package.json chore(release): 1.0.7 2023-05-18 13:48:56 +02:00
README.md fix readme 2023-03-30 14:25:07 +02:00
tsconfig.json Initial commit 2023-03-21 18:07:36 +01:00
version-bump.mjs Initial commit 2023-03-21 18:07:36 +01:00
versions.json chore(release): 1.0.7 2023-05-18 13:48:56 +02:00
yarn.lock fixes from code review 2023-04-27 21:15:13 +02:00

Obsidian Code Files

Plugin for ObsidianMD to show and edit code files along other notes.

The plugin adds a code editor view to Obsidian. The code editor uses the powerful Monaco Editor, which also powers VS Code.

Caveat: This plugin currently relies on hosted dependencies and thus needs an internet connection. Read below for more information.

In the plugin settings, you can configure for which file extensions the editor will be available as default editor. You can also create new code files, either by right clicking on a folder in the side pane and clicking on "Create Code File", search for "Create new Code File" in the command palette or by using the "Create Code File" button in the ribbon.

img_1.png

img_2.png

img.png

Caveat: Online dependency

Due to the complicated nature of bundling the Monaco Editor, the plugin currently relies on a hosted version of the editor. This means that the plugin needs an internet connection to work, and has a dependency on the hosted editor, which is currently available on https://embeddable-monaco.lukasbach.com.

I hope to remove this dependency in the future, but this was the easiest way to get the plugin to work for now.