From d88c10bcb10fc463fa5a2f6e29c8c94b75a314c0 Mon Sep 17 00:00:00 2001 From: Justin Abrahms Date: Sat, 2 Jan 2021 07:17:55 -0800 Subject: [PATCH] handle #+begin_quote to gemini quote lines --- ox-gemini.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ox-gemini.el b/ox-gemini.el index 6881f34..1a2e651 100644 --- a/ox-gemini.el +++ b/ox-gemini.el @@ -51,6 +51,7 @@ (section . org-gemini-section) (src-block . org-gemini-code-block) (item . org-gemini-item) + (quote-block . org-gemini-quote-block) (template . org-gemini-template))) (defun org-gemini-paragraph (paragraph _contents _info) @@ -61,6 +62,10 @@ "CONTENTS is the text of the individual item." (format "* %s" contents)) +(defun org-gemini-quote-block (_input contents _info) + "CONTENTS is the text of the quote." + (format "> %s " contents)) + (defun org-gemini-code-inline (input _contents info) "INPUT is either a 'src-block' or 'example-block' element. INFO is a plist." ;; there's a bug here where there's a trailing space in the ``