handle #+begin_quote to gemini quote lines
This commit is contained in:
parent
5b50b6e8d1
commit
d88c10bcb1
@ -51,6 +51,7 @@
|
|||||||
(section . org-gemini-section)
|
(section . org-gemini-section)
|
||||||
(src-block . org-gemini-code-block)
|
(src-block . org-gemini-code-block)
|
||||||
(item . org-gemini-item)
|
(item . org-gemini-item)
|
||||||
|
(quote-block . org-gemini-quote-block)
|
||||||
(template . org-gemini-template)))
|
(template . org-gemini-template)))
|
||||||
|
|
||||||
(defun org-gemini-paragraph (paragraph _contents _info)
|
(defun org-gemini-paragraph (paragraph _contents _info)
|
||||||
@ -61,6 +62,10 @@
|
|||||||
"CONTENTS is the text of the individual item."
|
"CONTENTS is the text of the individual item."
|
||||||
(format "* %s" contents))
|
(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)
|
(defun org-gemini-code-inline (input _contents info)
|
||||||
"INPUT is either a 'src-block' or 'example-block' element. INFO is a plist."
|
"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 ``
|
;; there's a bug here where there's a trailing space in the ``
|
||||||
|
Loading…
Reference in New Issue
Block a user