-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.qmd
32 lines (22 loc) · 918 Bytes
/
example.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: Share-post Example
author: Charles Teague
format:
html: default
pdf: default
docx: default
---
## Example
The following document provides a simple example of embedding a Mastodon post. Currently the only supported arguments are the URL to the post to be shared. Use a simple shortcode to embed a post. For example, the shortcode:
```markdown
{{{< share-post https://sciencemastodon.com/@gdyson/111371030805595929 >}}}
```
produces:
{{< share-post https://sciencemastodon.com/@gdyson/111371030805595929 >}}
In addition to Mastodon, the short will render posts for Twitter, Threads, Instragram, LinkedIn, and Pinterest.
For example:
```markdown
{{{< share-post https://www.linkedin.com/posts/posit-software_quarto-quarto-14-activity-7156030921387778049-dHKD >}}}
```
produces:
{{< share-post https://www.linkedin.com/posts/posit-software_quarto-quarto-14-activity-7156030921387778049-dHKD >}}