Skip to content

Instantly share code, notes, and snippets.

View raulrpearson's full-sized avatar
🤝
Available for hire!

Raúl R Pearson raulrpearson

🤝
Available for hire!
View GitHub Profile
@raulrpearson
raulrpearson / subtree-to-html.el
Last active July 7, 2017 14:58
Org-mode subtree to HTML for Modelica documentation
(defun myelisp-subtree-to-html ()
"Create buffer with HTML export from org subtree at point."
(interactive)
;; Setup
(split-window-right)
(org-html-export-as-html nil 1 nil 1)
(html-mode)
;; Substitutions
(replace-regexp
"[\.]+/Resources"