diff --git a/README.md b/README.md index 00a9080..205e8cc 100644 --- a/README.md +++ b/README.md @@ -15,17 +15,7 @@ You can see a demo at [fediverse-share-button.stefanbohacek.dev](https://fediver ## How to use -1. Download the files in this repo. -2. Add the JavaScript code and CSS stylesheet to your page. - -```html - - -``` - -Note that if you need to change where the `fediverse-share-button` folder is uploaded, you will also have to change the JS and CSS paths above, and also the path of the initial Mastodon logo below. - -3. Add a sharing prompt to your page. +Add the following snippet to where you want your sharing button to show up: ```html
+ + ``` +Alternatively, you can download the code from this repo and host all the JS, CSS, and image files yourself. + ## FAQ **Q: How does this work?** diff --git a/index.html b/index.html index 5681545..1e18358 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,7 @@ - +