summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-27 23:18:39 +0100
committerGravatar Tom Willemse2014-01-27 23:18:39 +0100
commitb66e7206a0dd4b28d27479b4a970d4cdc293caf3 (patch)
treec2c5d40f1aecdbd9aacafe00fd2e1e0ad35a4ec7
parent1fe62d55ecb8e983361067059d88c7b221a0f541 (diff)
downloadedocs-b66e7206a0dd4b28d27479b4a970d4cdc293caf3.tar.gz
edocs-b66e7206a0dd4b28d27479b4a970d4cdc293caf3.zip
Wrap comments with a container div
-rw-r--r--edocs.el13
1 files changed, 7 insertions, 6 deletions
diff --git a/edocs.el b/edocs.el
index 74a21ed..ad7b0a9 100644
--- a/edocs.el
+++ b/edocs.el
@@ -242,12 +242,13 @@ parts of the module."
KNOWN-SYMBOLS is used for referencing symbols found in other
parts of the module."
- (edocs--export-format-text
- exporter
- (replace-regexp-in-string
- ";" "*" (replace-regexp-in-string
- "^;; " "" (replace-regexp-in-string
- ";;; Commentary:\n+" "" cmt))) known-symbols))
+ (edocs--with-tag "div" '(("class" . "container"))
+ (edocs--export-format-text
+ exporter
+ (replace-regexp-in-string
+ ";" "*" (replace-regexp-in-string
+ "^;; " "" (replace-regexp-in-string
+ ";;; Commentary:\n+" "" cmt))) known-symbols)))
(defun edocs--format-doc (exporter doc known-symbols)
"Make EXPORTER perform formatting operations on DOC or on DOC's `cdr'.