Chapter 56
The Insert menu
Everything in Insert puts source into the document at the caret, written in the active syntax profile's own notation. Items the profile cannot express are greyed out, and every item is off in Preview.
| Item | What it does |
|---|---|
| Table… | Opens the Insert Table dialog (Chapter 63). Shortcut ⌥⌘T. |
| Image… | Picks an image and inserts it, applying the image settings (Chapter 68). Shortcut ⇧⌘I. |
| Diagrams | A submenu of ready-made Mermaid diagrams (below). |
| Charts | A submenu of ready-made Vega-Lite charts (below). |
| Equations | A submenu of ready-made equations (below). |
| Code Fence | Inserts a fenced code block. |
| Alert | A submenu: Note, Tip, Important, Warning, Caution. |
| Horizontal Line | Inserts a thematic break. |
| Link Reference | Inserts a reference-style link and its definition. |
| Footnote | Inserts a footnote mark and its definition. |
| Table of Contents | Inserts a [TOC] line, which becomes a generated contents list. |
| YAML Front Matter | Inserts a front matter block at the top of the file. |
| Field | Inserts a fill-in blank for Super Tab, selected so you can name it (Chapter 24). |
Below these, a divider is followed by the active profile's own constructs, such as an admonition or a custom block the profile defines. If no profile is chosen, the menu says "Select a syntax profile to insert constructs".
Diagram templates#
Insert ▸ Diagrams offers 17 starting points. Each inserts a working example to edit.
Flowchart, Sequence Diagram, Class Diagram, State Diagram, Entity Relationship Diagram, Gantt Chart, Pie, User Journey, Git Graph, Mind Map, Timeline, Quadrant Chart, Sankey Diagram, XY Chart, Block Diagram, Packet Diagram, and Kanban Board.
Chart templates#
Bar Chart, Line Chart, Area Chart, Scatter Plot, Pie Chart, Stacked Bar Chart, Histogram, Heatmap, and Box Plot.
Equation templates#
Fraction, Square Root, Summation, Integral, Limit, Quadratic Formula, Matrix, Piecewise Function, Aligned Equations, Binomial Coefficient, Bayes' Theorem, and Euler's Identity.
On iPad, an Insert item whose name also exists in the Paragraph submenu (Alert, Horizontal Line, Link Reference, Footnote, Table of Contents, YAML Front Matter) is shown as "Insert Alert" and so on, because the iPad merges menu items that share a name.