English | 中文
An enhanced code editor using Ace editor, providing syntax highlighting, code folding, and other advanced editing features.
- Download the latest release
- Copy
main.js
,styles.css
, andmanifest.json
to your vault's plugins folder:<vault>/.obsidian/plugins/obsidian-ace-code-editor/
- Reload Obsidian
- Enable the plugin in Settings → Community Plugins
- Install BRAT plugin
- Click "Add Beta plugin" in BRAT settings
- Enter
RavenHogWarts/obsidian-ace-code-editor
- Enable the plugin
- Clone this repo
- Make sure your NodeJS is at least v16 (
node --version
) npm i
oryarn
to install dependenciesnpm run dev
to start compilation in watch modenpm run build
to build the pluginnpm run build:local
to build the plugin and copy it to your vault's plugins folder(need create a .env file in the project root and add the line: VAULT_PATH=/path/to/your/vault)npm run version
to bump the version number and update the manifest.json, version.json, package.jsonnpm run release
to build the plugin and bump the version number
If you encounter any issues or have suggestions:
- Open an issue on GitHub
- Join the discussion for questions and ideas
- Check the contributing guidelines if you'd like to contribute to the project
If you find this plugin helpful, you can support the development through:
- WeChat/Alipay: QR Code
This project is licensed under the MIT LICENSE - see the LICENSE file for details.