Fix HTML export
This commit is contained in:
parent
8f4fa5d2f4
commit
6dada9e33d
1 changed files with 11 additions and 10 deletions
5
edocs.el
5
edocs.el
|
@ -213,6 +213,7 @@ parts of the module."
|
|||
(let ((org-export-with-toc nil)
|
||||
(org-export-with-section-numbers nil))
|
||||
(edocs--with-tag "div" '(("class" . "container"))
|
||||
(insert
|
||||
(org-export-string-as
|
||||
(replace-regexp-in-string
|
||||
"`\\([^']+\\)'"
|
||||
|
@ -221,7 +222,7 @@ parts of the module."
|
|||
"@@html:<a href=\"#\\1\"><code>@@\\1@@html:</code></a>@@"
|
||||
"~\\1~"))
|
||||
txt)
|
||||
'html t))))
|
||||
'html t)))))
|
||||
|
||||
(defmethod edocs--export-format-text ((exporter edocs-ascii-exporter)
|
||||
txt known-symbols)
|
||||
|
@ -352,7 +353,7 @@ into a buffer called `*edocs*' and switches to that buffer."
|
|||
(edocs--export-insert-title exporter
|
||||
(edocs--module-name binfo)
|
||||
(edocs--module-summary binfo))
|
||||
(insert (edocs--format-commentary exporter commentary symbols))
|
||||
(edocs--format-commentary exporter commentary symbols)
|
||||
(edocs--export-insert-header exporter 2 "API")
|
||||
(mapc (lambda (spec) (edocs--format-symbol exporter spec symbols))
|
||||
symbol-specs)
|
||||
|
|
Loading…
Reference in a new issue