Wrap headers with a container div
This commit is contained in:
parent
b66e7206a0
commit
fc646569e9
1 changed files with 3 additions and 2 deletions
5
edocs.el
5
edocs.el
|
@ -228,9 +228,10 @@ parts of the module."
|
||||||
txt)
|
txt)
|
||||||
|
|
||||||
(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)
|
||||||
|
|
Loading…
Reference in a new issue