diff --git a/README.md b/README.md index 4f82290..e10fda7 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ -# Obsidian Publish to Discourse +# Publish to Discourse ## How to use -- 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. +下载插件, 在设置页面添加"论坛地址", "API密钥(需要管理员创建)", "用户名". +![image](https://github.com/user-attachments/assets/ae31c831-d88d-4a15-8549-14c0726f762d) + + +在文档页面的右上角, 展开菜单, 选择"发布到discourse", 选择类别即可. +![image](https://github.com/user-attachments/assets/615dabe1-28d6-4217-ae53-71b00b1072de) + +![image](https://github.com/user-attachments/assets/a49e34be-1265-4e41-9052-7ae7260c32cf) -## Manually installing the plugin -- Copy over `main.js`, `styles.css`, `manifest.json` to your vault `VaultFolder/.obsidian/plugins/your-plugin-id/`.