From ca1b16eb91b25bb4f05e58e9b6692e8486c8c619 Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Mon, 26 Sep 2016 10:07:07 -0600 Subject: Export code with blocks This addresses a recent change to tufte-css where code was changed to be in `` blocks instead of a `pre` with `code` class. Hopefully this is compatible with both versions of tufte-css --- ox-tufte.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ox-tufte.el') diff --git a/ox-tufte.el b/ox-tufte.el index 5aca601..bcd197a 100644 --- a/ox-tufte.el +++ b/ox-tufte.el @@ -148,7 +148,7 @@ link. INFO is a plist holding contextual information." (defun org-tufte-src-block (src-block contents info) "Transcode SRC-BLOCK element into Tufte HTML format. CONTENTS is nil. INFO is a plist used as a communication channel." - (format "
%s
" + (format "
%s
" (org-html-format-code src-block info))) -- cgit