-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from chrisfarnham/cwf/add-embed-post-and-replies
Cwf/add embed post and replies
- Loading branch information
Showing
4 changed files
with
85 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,6 +63,12 @@ <h1><a href="https://github.com/sampsyo/emfed">Emfed</a></h1> | |
it yourself, however you like):</p> | ||
<pre><link rel="stylesheet" type="text/css" | ||
href="https://esm.sh/emfed@1/toots.css"></pre> | ||
|
||
<p>Alternatively, you can embed a single post along with its replies:</p> | ||
<pre><a class="mastodon-thread" | ||
href="https://mastodon.social/@Mastodon" | ||
data-toot-id="112011697087209298" | ||
>Single toot and its replies</a></pre> | ||
<p>One place you can see Emfed in action is at the | ||
<a href="https://beets.io">beets project</a>. | ||
The <a href="https://github.com/sampsyo/emfed">code</a> is | ||
|
@@ -72,9 +78,9 @@ <h1><a href="https://github.com/sampsyo/emfed">Emfed</a></h1> | |
</main> | ||
<aside> | ||
<a class="mastodon-feed" | ||
href="https://mastodon.social/@Mastodon" | ||
data-toot-limit="4" | ||
data-toot-account-id="13179" | ||
href="https://mastodon.social/@Mastodon" | ||
data-toot-limit="4" | ||
data-toot-account-id="13179" | ||
>@[email protected]</a> | ||
</aside> | ||
<script type="module" src="emfed.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters