From 1ad953e0d30bd25af20cd35a3ca427604fa27761 Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Sat, 22 Aug 2015 04:03:45 +0900 Subject: [PATCH] Add a overline of title --- README.org | 1 + ox-rst.el | 1 + 2 files changed, 2 insertions(+) diff --git a/README.org b/README.org index 4d6eaf5..ab3fca1 100644 --- a/README.org +++ b/README.org @@ -54,6 +54,7 @@ reStructuredText: #+BEGIN_SRC rst + ================================= This is the title of the document ================================= diff --git a/ox-rst.el b/ox-rst.el index 6650fbc..4e7a191 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -477,6 +477,7 @@ INFO is a plist used as a communication channel." ((org-string-nw-p email) email)) title)) (titleline (make-string (string-width title) ?=))) (concat + titleline "\n" title "\n" titleline "\n" (when (org-string-nw-p author) (concat "\n :Author: " author))