19

How do I specify a quote in org-mode, so that it is rendered nicely in github? In markdown it is rendered like so:

Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. - albert enstein

thanks in advance.

24

When quoting a passage from another document, it is customary to format this as a paragraph that is indented on both the left and the right margin. You can include quotations in Org mode documents like this:

 #+BEGIN_QUOTE
 Everything should be made as simple as possible,
 but not any simpler -- Albert Einstein
 #+END_QUOTE

This information in available in the org manual

When you convert your file to html then your text will be as shown below

enter image description here

  • 26
    You can insert #+BEGIN_QUOTE and #+END_QUOTE lines quickly by typing <q and then pressing TAB. – DoMiNeLa10 Oct 6 '16 at 15:18
  • 1
    Is there a way to actually add formatting options to the quote in orgmode? E.g. #+BEGIN_QUOTE -gray_background -blue_margin ...? Just a silly example, but I'd like to get nice formatting like the OP's. – n1k31t4 Jun 27 '18 at 19:02
  • Newer versions of Org-mode do not have <q TAB, but rather C-c C-, q (and its ilk). – Fernando Basso Sep 8 at 23:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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