mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
Added error delay to 3000 and add some readme to dev
This commit is contained in:
10
README.md
10
README.md
@@ -108,6 +108,16 @@ To sync images to your oss or cos bucket, use the [Obsidian Image Auto Upload Pl
|
|||||||
|
|
||||||
[Buy me a coffee](https://dun.mianbaoduo.com/@easy)
|
[Buy me a coffee](https://dun.mianbaoduo.com/@easy)
|
||||||
|
|
||||||
|
|
||||||
|
# Development
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://github.com/EasyChris/obsidian-to-notion.git
|
||||||
|
yarn install
|
||||||
|
yarn dev
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
# Thanks
|
# Thanks
|
||||||
[Development Process | Obsidian Plugin Development Documentation](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html)
|
[Development Process | Obsidian Plugin Development Documentation](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html)
|
||||||
|
|
||||||
|
|||||||
2
main.ts
2
main.ts
@@ -90,7 +90,7 @@ export default class ObsidianSyncNotionPlugin extends Plugin {
|
|||||||
if(res.status === 200){
|
if(res.status === 200){
|
||||||
new Notice(`${langConfig["sync-success"]}${basename}`)
|
new Notice(`${langConfig["sync-success"]}${basename}`)
|
||||||
}else {
|
}else {
|
||||||
new Notice(`${langConfig["sync-fail"]}${basename}`)
|
new Notice(`${langConfig["sync-fail"]}${basename}`, 3000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user