From a4d72cbda53e8dfd61a0d2f8f8cb2ad8feb9bab0 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 26 Dec 2008 17:23:20 +0100 Subject: [PATCH] Coderefs: Add a java script constant to HTML exported buffers This patch adds a new constant with javascript functions. Each exported HTML file will contain these definitions. Also, we add to the default export CSS style a new class, code-highlighted, which will be used to highlight lines in code whenever the mouse overs over a link to this line. --- lisp/org-exp.el | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 05043896b..4615b6f2f 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -522,6 +522,31 @@ Org-mode file." :group 'org-export-html :type '(string :tag "File or URL")) +(defconst org-export-html-scripts +"" +"Basic javascript that is needed by HTML files produced by Org-mode.") + (defconst org-export-html-style-default "