Julien Lin68 downloadsOpen the current note in the CSDN Markdown editor and fill it through a local Chrome extension bridge.
CSDN Sync opens the current Obsidian note in the CSDN Markdown editor and fills the title, Markdown body, and local images.
It uses a local bridge:
This plugin is desktop-only because it starts a local HTTP server and depends on a browser extension.
After the plugin is accepted, install it from Settings -> Community plugins by searching for CSDN Sync.
main.js and manifest.json from the GitHub release.styles.css is included in the release, download it too.<Vault>/.obsidian/plugins/csdn-sync/.The Chrome extension is currently distributed from this repository.
cd extension && npm install && npm run build.chrome://extensions.extension/dist.http://127.0.0.1:27187.The plugin chooses the article title in this order:
title in frontmatter.Local Obsidian images are uploaded to CSDN image storage before the Markdown is inserted. Remote images are left as Markdown links.
CSDN Sync does not collect analytics and does not send vault data to any service controlled by this project.
When you run the sync command:
127.0.0.1 for the companion Chrome extension.127.0.0.1 only.npm install
npm run test
npm run build
npm run lint
For Chrome extension development:
cd extension
npm install
npm run test
npm run build
manifest.json and versions.json.npm run package:obsidian.manifest.json version.main.js and manifest.json as release assets.styles.css only if it is included.The generated local release folder is written to release/csdn-sync-<version>/.