import React from "react"; import { Button } from "../ui"; import { X, ExternalLink, Key, Share, Bookmark, PenTool, MoreHorizontal, } from "lucide-react"; import { AppleIcon } from "../common/Icons"; interface IOSShortcutModalProps { isOpen: boolean; onClose: () => void; } export default function IOSShortcutModal({ isOpen, onClose, }: IOSShortcutModalProps) { if (!isOpen) return null; return (
e.stopPropagation()} >

Save from iOS Safari

How to use the shortcut

1

Install the shortcut

Get iOS Shortcut
2

Generate an API Key{" "}

Create a new key on this settings page and copy it.

3

Configure the shortcut

In the Shortcuts app, click the{" "} menu on the Save to Margin shortcut, and paste your API key in the Text action right below the setup comment.

4

To Bookmark a page{" "}

Don't select any text. Click the{" "} menu in Safari, press{" "} {" "} Share, and select{" "} Save to Margin.

5

To Highlight text{" "}

Select text on the page, click the{" "} menu, press Share, and select{" "} Save to Margin. Leave the Note field empty.

6

To Add an Annotation

Select text, share to Save to Margin (via the {" "} menu), enter your custom note in the Note field, and press Done!

); }