Pasting from elsewhere
⌘V reads the rich flavour of the clipboard — what a browser, Word, Pages, Notes or Google Docs actually put there — and writes it as the Markdown the editor would have written:- and 1. for the lists, nested by their depth and numbered from one; # for a heading that was one; **, *, ~~ and ` for the weights; [text](url) for a link; a pipe table for a table; a fence round a block of code. The plain flavour, which most apps strip of its bullets and numbers, is used only when there is nothing richer, and even then • becomes -, 1) becomes 1., cells separated by tabs become a table, and a table separator that someone’s smart dashes turned into | — | — | gets its hyphens back. Text copied out of Glassine itself is Markdown already and goes in untouched. Text dropped onto the page from another app is read the same way as a paste. If a paste is not what you wanted, ⌥⇧⌘V (Edit → Paste as Plain Text) pastes the plain string exactly as it is.
More than one line is a block — paragraphs, a list, a table — and a block lands on lines of its own: pasted into the middle of a sentence, it starts on the line below and the rest of the sentence follows it, rather than its first row being welded onto the words before the caret and its last onto the words after.
What gets styled
Emphasis follows the usual rules: the marks have to hug the text (
**bold**, not ** bold **) and underscores inside words are left alone.
Keys that write the syntax
Each of these wraps the selection in the right marks, or inserts a placeholder to type over when nothing is selected. They turn the mark off the way a rich-text key does: press ⌘I at the end of an italic run and the caret steps out past the closing mark, so what you type next is plain; in the middle of a run the run splits around the caret; with the marked words selected, marks included or not, the marks come off. Between two marks with nothing inside, the key removes them.
They are all in the Format menu as well, and on the bar that appears over a selection; the slash menu writes the block-level ones — headings, lists, quotes, code blocks, dividers — from the keyboard without leaving the line.

