Here are some quick guides and hints to accomplish various things in Motif.

How do I embed a tweet?

The mdx-embed package works great for this:

import { Tweet } from "mdx-embed"

<Tweet tweetLink="michaelfester/status/1526983526436032512" />

How do I add a PDF viewer to my page?

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.