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

@ -230,7 +230,8 @@ parts of the module."
(defmethod edocs--export-insert-header ((exporter edocs-html-exporter) (defmethod edocs--export-insert-header ((exporter edocs-html-exporter)
level txt) level txt)
"Format a header." "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) (defmethod edocs--export-insert-header ((exporter edocs-ascii-exporter)
level txt) level txt)