Wrap headers with a container div

This commit is contained in:
Tom Willemse 2014-01-27 23:20:11 +01:00
parent b66e7206a0
commit fc646569e9

View file

@ -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 "<h%d>%s</h%d>" level txt level)))
(edocs--with-tag "div" '(("class" . "container"))
(insert (format "<h%d>%s</h%d>" level txt level))))
(defmethod edocs--export-insert-header ((exporter edocs-ascii-exporter)
level txt)