I'm new to org-mode. I'm liking it so far. The one growing pain that I have is missing Markdown-style block quotes: I would like to start a line with > to quote it. How would I go about writing an extension (or better yet, finding one already written!) that would let me use that syntax?

  • 1
    You do realize that by doing this you're forfeiting interoperability with other Org users, don't you? Also, how much support are you looking for? Syntax highlighting? Indentation? Export? Parse? – wasamasa Sep 14 at 7:52
  • @wasamasa Thanks for the disclaimer. :) Yes, I’m aware of the trade-offs involved. Highlighting and export would be nice. I don’t know about “parsing”... Ideally, it would be an alternate syntax for defining quotes: everything would work just as if it had been defined as a plain block quote. – Ashton Wiersdorf Sep 14 at 16:20
  • 1
    Org has an API that allows you to parse Org buffers. Ideally you'd want it to consider an email-quoted block the same as a regular block quote. What I'm pointing at is that Org isn't designed at all to be extended this way. – wasamasa Sep 14 at 19:04

Not really an answer to the question directly, but also too much for a comment:

I'd advise against modifying your org-mode setup like that. It moves away from what org is, and could lead to issues in the future.

You can, however, easily insert quotes by typing <q and hitting TAB, which expands a template. Many templates can be used this way, like <s for codeblocks.

Explore this functionality further with C-h v org-structure-template-alist RET.

Adding your own templates is a breeze as well. I added a template for an elisp codeblock like so:

(add-to-list 'org-structure-template-alist
               '("se" "#+BEGIN_SRC emacs-lisp\n?\n#+END_SRC"))

The ? indicates where the point should move upon expansion. Now <se TAB expands into such a block.

  • Thanks! That is helpful. I’ll upvote, but not accept because it’s not a direct answer. But thank you very much! :) – Ashton Wiersdorf Sep 14 at 16:21

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.