[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] allow klipse export in html
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] allow klipse export in html |
Date: |
Thu, 15 Dec 2016 14:39:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Matt Price <address@hidden> writes:
> I'm such a slow coder that this is all I got to in my free moments
> today:patch for defcustoms that inserts the necessary code into a src
> block. further refinements necessary before it works properly; severla
> more would be useful for hte improvements that Bastien suggests.
Thank you. Some comments follow.
> +(defcustom org-html-klipsify-src nil
> + "Set to non-nil if you would like to make source code blocks editable in
> exported presentation."
When non-nil, source code blocks are editable in exported presentation.
> + :group 'org-export-html
> + :type 'boolean)
:version :package-version keywords are missing.
> +(defcustom org-html-klipse-css
> "https://storage.googleapis.com/app.klipse.tech/css/codemirror.css"
> + "Location of the codemirror css file for use with klipse."
css -> CSS
> + :group 'org-export-html
> + :type 'string)
See above.
> +(defcustom org-html-klipse-js
> "https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js"
> + "location of the klipse js source code."
Location of the klipse javascript source code.
> + :group 'org-export-html
> + :type 'string)
See above.
> +(defcustom org-html-klipse-selection-script
> + "window.klipse_settings = {selector_eval_html: '.src-html',
> + selector_eval_js: '.src-js',
> + selector_eval_python_client: '.src-python',
> + selector_eval_scheme: '.src-scheme',
> + selector: '.src-clojure',
> + selector_eval_ruby: '.src-ruby'};"
> + "javascript snippet to activate klipse"
Javascript snippet to activate klipse.
> + :group 'org-export-html
> + :type 'string)
See above.
> + ;; klipse library for live code blocks, if requested
> + (if org-html-klipsify-src
You shouldn't use `org-html-klipsify-src' directly in the code, but
instead "register" it in the back-end and call
(plist-get info :html-klipsify-src)
See other defcustoms.
The new property also needs to be documented in "org.texi", in
Publishing directory.
Regards,
--
Nicolas Goaziou
- [O] [PATCH] allow klipse export in html, Matt Price, 2016/12/14
- Re: [O] [PATCH] allow klipse export in html, Matt Price, 2016/12/14
- Re: [O] [PATCH] allow klipse export in html,
Nicolas Goaziou <=
- Re: [O] [PATCH] allow klipse export in html, Matt Price, 2016/12/15
- Re: [O] [PATCH] allow klipse export in html, Matt Price, 2016/12/15
- Re: [O] [PATCH] allow klipse export in html, Bastien Guerry, 2016/12/15
- Re: [O] [PATCH] allow klipse export in html, Yehonathan Sharvit, 2016/12/16
- Re: [O] [PATCH] allow klipse export in html, Bastien, 2016/12/16
- Re: [O] [PATCH] allow klipse export in html, Matt Price, 2016/12/16