mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-24 08:52:46 +00:00
Update README.md
This commit is contained in:
parent
95aa0dbbb5
commit
69b0c42824
@ -12,6 +12,8 @@ Source code running at:
|
|||||||
|
|
||||||
## 🗂️ User guide
|
## 🗂️ User guide
|
||||||
|
|
||||||
|
### Install
|
||||||
|
|
||||||
Just copy both files (_mastodon-timeline.css_ and _mastodon-timeline.js_ from /src folder) in your project folder.
|
Just copy both files (_mastodon-timeline.css_ and _mastodon-timeline.js_ from /src folder) in your project folder.
|
||||||
|
|
||||||
Now call each one in your page using the `<link>` and `<script>` tag:
|
Now call each one in your page using the `<link>` and `<script>` tag:
|
||||||
@ -36,7 +38,8 @@ Then copy the following html structure:
|
|||||||
|
|
||||||
Great, you have a Mastodon timeline running in your page.
|
Great, you have a Mastodon timeline running in your page.
|
||||||
|
|
||||||
The next step will be to setup the timeline.
|
### Setup
|
||||||
|
|
||||||
Edit the the JS file _mastodon-timeline.js_ and at the beginning find these two lines:
|
Edit the the JS file _mastodon-timeline.js_ and at the beginning find these two lines:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user