Here are some quick guides and hints to accomplish various things in Motif.
The mdx-embed package works great for this:
import { Tweet } from "mdx-embed"
<Tweet tweetLink="michaelfester/status/1526983526436032512" />
The standard <object>
will do the job:
<object
data="insert-pdf-url-here"
className="border rounded h-[800px] w-[600px]"
type="application/pdf">
<div>No PDF viewer installed.</div>
</object>
Note however that the PDF will not load inside the in-app preview. But it will be loaded on the live website.