From fc646569e960c49a96aac78d16343982e306fff2 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 27 Jan 2014 23:20:11 +0100 Subject: [PATCH] Wrap headers with a container div --- edocs.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/edocs.el b/edocs.el index ad7b0a9..0aeaa05 100644 --- a/edocs.el +++ b/edocs.el @@ -228,9 +228,10 @@ parts of the module." txt) (defmethod edocs--export-insert-header ((exporter edocs-html-exporter) - level txt) + level txt) "Format a header." - (insert (format "%s" level txt level))) + (edocs--with-tag "div" '(("class" . "container")) + (insert (format "%s" level txt level)))) (defmethod edocs--export-insert-header ((exporter edocs-ascii-exporter) level txt)