mirror of
https://github.com/raven-pensieve/obsidian-ace-code-editor.git
synced 2026-07-22 05:48:56 +00:00
No description
将项目许可证从 MIT 改为 GPL-3.0-only,并更新 LICENSE 文件为完整 的 GNU General Public License v3 文本。为确保许可证声明与 package.json 中的 license 字段一致,替换许可证内容以明确拷贝、 分发和修改时的 copyleft 条款和免责声明。 主要变更: - package.json: 将 "license" 从 "MIT" 改为 "GPL-3.0-only"。 - LICENSE: 用 GPL v3 完整文本替换原来的 MIT 协议内容。 为什么要做这项变更: - 统一代码库中的许可证声明,避免产生法律和分发上的歧义。 - 明确采用 GPL v3 的 copyleft 要求,限制将本项目合并为 专有软件的可能性。 |
||
|---|---|---|
| .github | ||
| assets | ||
| scripts | ||
| src | ||
| styles | ||
| .editorconfig | ||
| .gitignore | ||
| .npmrc | ||
| CHANGELOG.md | ||
| CONTRIBUTING.md | ||
| eslint.config.mjs | ||
| LICENSE | ||
| MAKEFILE | ||
| manifest-beta.json | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README-zh.md | ||
| README.md | ||
| tsconfig.json | ||
| versions.json | ||
English | 中文
ACE CODE EDITOR
An enhanced code editor using Ace editor, providing syntax highlighting, code folding, and other advanced editing features.
Features
Installation
Manual Installation
- Download the latest release
- Copy
main.js,styles.css, andmanifest.jsonto your vault's plugins folder:<vault>/.obsidian/plugins/obsidian-ace-code-editor/ - Reload Obsidian
- Enable the plugin in Settings → Community Plugins
BRAT (Recommended for Beta Users)
- Install BRAT plugin
- Click "Add Beta plugin" in BRAT settings
- Enter
RavenHogWarts/obsidian-ace-code-editor - Enable the plugin
Development
- Clone this repo
- Make sure your NodeJS is at least v16 (
node --version) npm ioryarnto install dependenciesnpm run devto start compilation in watch modenpm run buildto build the pluginnpm run build:localto 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 versionto bump the version number and update the manifest.json, version.json, package.jsonnpm run releaseto build the plugin and bump the version number
Support
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:
License
This project is licensed under the MIT LICENSE - see the LICENSE file for details.



