From 5a9b950358e435c9960b4866df1e1f965504eb11 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 17 Sep 2021 14:40:17 +0100 Subject: Put function into publish --- publish.el | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'publish.el') diff --git a/publish.el b/publish.el index f18c449..fead8ba 100644 --- a/publish.el +++ b/publish.el @@ -9,4 +9,11 @@ (require 'ox) (require 'ox-hugo) +(setq org-export-use-babel 'inline-only) + +(defun ymhg/link (arg1 arg2) + (cond + ((eq 'hugo org-export-current-backend) arg1) + (t arg2))) + (org-hugo-export-wim-to-md :all-subtrees) -- cgit