No description
Find a file
RavenHogWarts 2d3f0da755
chore(license): 切换许可证为 GPL-3.0-only (#69)
将项目许可证从 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 要求,限制将本项目合并为
  专有软件的可能性。
2025-12-20 17:38:53 +08:00
.github chore(funding): 添加自定义赞助链接 (#60) 2025-11-21 18:00:17 +08:00
assets docs: 更新 README 图片路径及新增功能截图 2025-06-16 18:56:55 +08:00
scripts chore(eslint): 添加 ESLint 配置并升级依赖 2025-11-06 15:20:02 +08:00
src fix(icon-picker): 移除多余的父类渲染调用 (#68) 2025-12-16 16:33:19 +08:00
styles feat(minimap): 固定滑块高度并完善悬停和拖拽交互 (#65) 2025-12-11 13:22:11 +08:00
.editorconfig Initial commit 2025-05-04 12:05:18 +08:00
.gitignore Initial commit 2025-05-04 12:05:18 +08:00
.npmrc Initial commit 2025-05-04 12:05:18 +08:00
CHANGELOG.md fix: unknown properties (#48) 2025-10-29 21:53:18 +08:00
CONTRIBUTING.md docs: 更新贡献指南并修正插件名称引用 2025-05-06 22:57:06 +08:00
eslint.config.mjs chore(eslint): 添加 ESLint 配置并升级依赖 2025-11-06 15:20:02 +08:00
LICENSE chore(license): 切换许可证为 GPL-3.0-only (#69) 2025-12-20 17:38:53 +08:00
MAKEFILE Initial commit 2025-05-04 12:05:18 +08:00
manifest-beta.json docs: 更新资助链接为 afdian (#59) 2025-11-21 17:38:13 +08:00
manifest.json docs: 更新资助链接为 afdian (#59) 2025-11-21 17:38:13 +08:00
package-lock.json chore(deps): 升级多项依赖以保持兼容性并修复问题 (#67) 2025-12-15 00:21:04 +08:00
package.json chore(license): 切换许可证为 GPL-3.0-only (#69) 2025-12-20 17:38:53 +08:00
README-zh.md docs: 更新资助链接为 afdian (#59) 2025-11-21 17:38:13 +08:00
README.md docs: 更新资助链接为 afdian (#59) 2025-11-21 17:38:13 +08:00
tsconfig.json feat: 统一使用路径别名将工程中的相对/相对路径导入改统一的路径别名 (#45) 2025-10-29 20:57:18 +08:00
versions.json chore: bump version 1.3.2 (#46) 2025-10-29 20:59:45 +08:00

English | 中文

ACE CODE EDITOR

An enhanced code editor using Ace editor, providing syntax highlighting, code folding, and other advanced editing features.

GitHub stars Total Downloads Latest Downloads GitHub License GitHub Issues GitHub Last Commit

Features

  • Edit code directly in Obsidian

  • Manage CSS snippets

  • Edit code blocks

  • Code file preview

Installation

Manual Installation

  1. Download the latest release
  2. Copy main.js, styles.css, and manifest.json to your vault's plugins folder: <vault>/.obsidian/plugins/obsidian-ace-code-editor/
  3. Reload Obsidian
  4. Enable the plugin in Settings → Community Plugins
  1. Install BRAT plugin
  2. Click "Add Beta plugin" in BRAT settings
  3. Enter RavenHogWarts/obsidian-ace-code-editor
  4. Enable the plugin

Development

  • Clone this repo
  • Make sure your NodeJS is at least v16 (node --version)
  • npm i or yarn to install dependencies
  • npm run dev to start compilation in watch mode
  • npm run build to build the plugin
  • npm 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.json
  • npm run release to build the plugin and bump the version number

Support

If you encounter any issues or have suggestions:

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.

Star History

Star History Chart