This commit is contained in:
Ke Yan 2025-03-08 23:43:22 +08:00
parent 07212d5186
commit b8e2e0db6a
6 changed files with 17 additions and 16 deletions

View file

@ -78,7 +78,7 @@ By default, the plugin generates HTML tags without the alt attribute to keep the
1. Clone this repository
2. Run `npm install` to install dependencies
3. Run `npm run dev` to start compilation in watch mode
4. Copy `main.js`, `manifest.json`, and `styles.css` to your vault's `.obsidian/plugins/img2html/` directory for testing
4. Copy `main.js` and `manifest.json` to your vault's `.obsidian/plugins/img2html/` directory for testing
## License

View file

@ -78,7 +78,7 @@ HTML 格式的图片标签比 Markdown 或 Obsidian 的 wikilink 格式更广泛
1. 克隆此仓库
2. 运行 `npm install` 安装依赖
3. 运行 `npm run dev` 开始开发,这将自动编译并监视文件变化
4. 将 `main.js`、`manifest.json` 和 `styles.css` 复制到你的 vault 的 `.obsidian/plugins/img2html/` 目录下进行测试
4. 将 `main.js``manifest.json` 复制到你的 vault 的 `.obsidian/plugins/img2html/` 目录下进行测试
## 许可证

View file

@ -1,10 +1,10 @@
{
"id": "img2html",
"name": "Image to HTML",
"version": "0.1.0",
"minAppVersion": "1.4.0",
"description": "Paste images as HTML format instead of Obsidian wikilink or markdown format",
"author": "0x1DA9430",
"authorUrl": "https://github.com/0x1DA9430",
"isDesktopOnly": false
}
{
"id": "img2html",
"name": "Image to HTML",
"minAppVersion": "1.4.0",
"description": "Paste images as HTML format instead of Obsidian wikilink or markdown format",
"author": "0x1DA9430",
"authorUrl": "https://github.com/0x1DA9430",
"isDesktopOnly": false,
"version": "1.0.0"
}

View file

@ -1,6 +1,6 @@
{
"name": "img2html",
"version": "0.1.0",
"version": "1.0.0",
"description": "Paste images as HTML format instead of Obsidian wikilink or markdown format",
"main": "main.js",
"scripts": {

View file

View file

@ -1,3 +1,4 @@
{
"0.1.0": "0.1.0"
}
{
"0.1.0": "0.1.0",
"1.0.0": "1.4.0"
}