docs: Add basic quickstart
This commit is contained in:
parent
da407c0772
commit
9e06e672b5
13
README.md
13
README.md
@ -1,9 +1,16 @@
|
|||||||
# Include Fedi
|
# Include Fedi
|
||||||
|
|
||||||
Include Fedi allows you to embed a fediverse accounts post into a sites
|
Include Fedi allows you to embed a fediverse accounts post into a sites.
|
||||||
|
|
||||||
|
# Quickstart
|
||||||
|
|
||||||
|
In the head of your site include the css and javascript
|
||||||
|
```html
|
||||||
|
<script src="script.js"></script>
|
||||||
|
<link rel='stylesheet' id='include-fedi-css' href='style.css'/>
|
||||||
|
```
|
||||||
|
|
||||||
|
In the body you should add a div with the id `fedi-feed` at the location you want the feed to be
|
||||||
```html
|
```html
|
||||||
<div class="include-mastodon-feed dark" id="fedi-feed">Loading...</div>
|
<div class="include-mastodon-feed dark" id="fedi-feed">Loading...</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
[include-mastodon-feed instance="social.queereszentrumtuebingen.de" account="01JFERHG3QG06PQ7QGYEZ6288P" limit=3 excludeReplies=true excludeBoosts=true text-permalinkPre=am date-locale=de-DE]
|
|
||||||
|
Loading…
Reference in New Issue
Block a user