Quotation in Markdown

If you highlight a few lines of text and invoke the “> Quotation” action from the Markdown group. The lines get the prefix of >, but the next line, which was not selected, also gets the same prefix. Irrespective of whether it is a blank line or a line with text in it, it gets the > prefix. How can one fix this behavior? Only the lines which are selected should get the prefix.

The same behavior occurs with https://actions.getdrafts.com/a/1DE


If you select an entire line, the trailing linefeed is included. When the selection is split into lines, the last “line” has no characters, but it still gets the “> “ prefix.

Here’s a Markdown Quote action that does what you want:


This post discusses the line selection issue more generally.

Thank you very much.