update at 2025-10-16 14:06:24
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
为了尽可能保证插件符合官方规范,主题和代码高亮需要打开Obsidian的**设置**界面,在底部的**第三方插件**——**Note 2 Any**——**获取更多主题**手动下载。
|
||||
|
||||
**2)手动下载**
|
||||
也可以直接在[Release](https://github.com/sunbooshi/note2any/releases)页面下载`assets.zip`文件,解压后放到`.obsidian/plugins/note2any/assets`目录下。
|
||||
也可以直接在[Release](https://biboer.cn/gitea/gavin/note2any/releases)页面下载`assets.zip`文件,解压后放到`.obsidian/plugins/note2any/assets`目录下。
|
||||
|
||||
### 2.3 常见安装问题
|
||||
|
||||
|
||||
2
build.sh
2
build.sh
@@ -22,7 +22,7 @@ else
|
||||
fi
|
||||
|
||||
# 2. 目标目录
|
||||
PLUGIN_DIR=~/myweb/.obsidian/plugins/note-to-mp
|
||||
PLUGIN_DIR=~/myweb/.obsidian/plugins/note2any
|
||||
FILES=("main.js" "styles.css" "manifest.json")
|
||||
|
||||
# 3. 遍历文件,逐一备份并覆盖
|
||||
|
||||
@@ -6,5 +6,6 @@
|
||||
"description": "xiaohongshu/mp publisher ",
|
||||
"author": "Gavin chan",
|
||||
"authorUrl": "https://biboer.cn",
|
||||
"isDesktopOnly": false
|
||||
"isDesktopOnly": false,
|
||||
"fundingUrl": "https://biboer.cn/gitea/gavin/note2any"
|
||||
}
|
||||
|
||||
@@ -3,6 +3,14 @@
|
||||
"version": "1.3.0",
|
||||
"description": "This is a plugin for Obsidian (https://obsidian.md)",
|
||||
"main": "main.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://biboer.cn/gitea/gavin/note2any.git"
|
||||
},
|
||||
"homepage": "https://biboer.cn/gitea/gavin/note2any",
|
||||
"bugs": {
|
||||
"url": "https://biboer.cn/gitea/gavin/note2any/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "node esbuild.config.mjs",
|
||||
"build": "npm run build:bundle --",
|
||||
|
||||
@@ -200,7 +200,7 @@ export class ArticleRender implements MDRendererCallback {
|
||||
|
||||
errorContent(error: any) {
|
||||
return '<h1>渲染失败!</h1><br/>'
|
||||
+ '如需帮助请前往 <a href="https://github.com/sunbooshi/note2any/issues">https://github.com/sunbooshi/note2any/issues</a> 反馈<br/><br/>'
|
||||
+ '如需帮助请前往 <a href="https://biboer.cn/gitea/gavin/note2any/issues">https://biboer.cn/gitea/gavin/note2any/issues</a> 反馈<br/><br/>'
|
||||
+ '如果方便,请提供引发错误的完整Markdown内容。<br/><br/>'
|
||||
+ '<br/>Obsidian版本:' + apiVersion
|
||||
+ '<br/>错误信息:<br/>'
|
||||
|
||||
@@ -297,7 +297,7 @@ export default class AssetsManager {
|
||||
|
||||
getThemeURL() {
|
||||
const version = this.manifest.version;
|
||||
return `https://github.com/sunbooshi/note2any/releases/download/${version}/assets.zip`;
|
||||
return `https://biboer.cn/gitea/gavin/note2any/releases/download/${version}/assets.zip`;
|
||||
}
|
||||
|
||||
async getStyle() {
|
||||
|
||||
Reference in New Issue
Block a user