Update README.md

This commit is contained in:
Erica Xu 2022-12-05 15:55:39 -05:00 committed by GitHub
parent b376f9c428
commit d3bb1e6775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,13 +71,18 @@ Quick starting guide for new plugin devs:
You can include funding URLs where people who use your plugin can financially support it.
The simple way is to set the `fundingUrl` field in your `manifest.json` file.
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
{
"authorUrl": "https://obsidian.md",
"fundingUrl": {
"Buy Me a Coffee": "https://buymeacoffee.com",
"GitHub Sponsor": "https://github.com/sponsors",