summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorErica Xu <[email protected]>2022-12-05 15:57:04 -0500
committerGitHub <[email protected]>2022-12-05 15:57:04 -0500
commit747672e2f845074f2e9f9fa4a14055d324098975 (patch)
tree28007739413a2e55a6a6c717f3f483c3bf8a2eac
parent97d84bc54bde0d2fbf6d3e006f50f6db986e8421 (diff)
parentd3bb1e67758e99b302d72f06f2400113fb226658 (diff)
downloadai-pulse-obsidian-plugin-747672e2f845074f2e9f9fa4a14055d324098975.tar.gz
ai-pulse-obsidian-plugin-747672e2f845074f2e9f9fa4a14055d324098975.zip
Merge pull request #42 from obsidianmd/funding-url
Add funding URL documentation
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index b8f865d..31e5155 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,29 @@ Quick starting guide for new plugin devs:
- If your source code is in a folder, such as `src`, you can use eslint with this command to analyze all files in that folder:
- `eslint .\src\`
+## Funding URL
+
+You can include funding URLs where people who use your plugin can financially support it.
+
+The simple way is to set the `fundingUrl` field to your link in your `manifest.json` file:
+
+```json
+{
+ "fundingUrl": "https://buymeacoffee.com"
+}
+```
+
+If you have multiple URLs, you can also do:
+
+```json
+{
+ "fundingUrl": {
+ "Buy Me a Coffee": "https://buymeacoffee.com",
+ "GitHub Sponsor": "https://github.com/sponsors",
+ "Patreon": "https://www.patreon.com/"
+ }
+}
+```
## API Documentation