From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: rainbow parenthesis with org babel for reveal.js export Date: Thu, 21 Nov 2013 08:40:34 -0700 Message-ID: <877gc1rcel.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjWO3-0003pE-AL for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 10:41:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjWNw-0001e4-6g for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 10:41:47 -0500 Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:47087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjWNv-0001ah-WF for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 10:41:40 -0500 Received: by mail-pb0-f49.google.com with SMTP id jt11so7151477pbb.22 for ; Thu, 21 Nov 2013 07:41:38 -0800 (PST) In-Reply-To: (bernard's message of "Thu, 21 Nov 2013 14:03:26 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: bernard Cc: emacs-orgmode@gnu.org Hi Bernard, Org-mode uses htmlize.el [1] to fontify source code blocks. Htmlize directly converts an Emacs buffer to HTML, so if you are exporting from a buffer in which parenthesis are colorized, then the exported HTML should be colorized as well. If not then this is a question for htmlize and/or rainbox-paren developers. Best, bernard writes: > Dear list, > > I am currently very happy to use orgmode and org-reveal [0] to create slide > for my lessons about programming. > I enjoy using src block to have automatic syntax highlighting for the code > fragments. > However, I now have the joy to teach a lisp variant (Clojure) for which I > have some syntactic coloring in HTML. > However, I miss rainbow parenthesis (and my students even more so !). > org-reveal page says : "Org-reveal use Org-Babel to highlight source codes." > hence my message here. > > Any advice would be greatly appreciated ! > > Best Regards > > Bernard > > [0] https://github.com/yjwen/org-reveal > > Footnotes: [1] http://www.emacswiki.org/emacs/Htmlize -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D