From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Subject: Re: How to customize the org-mode's BEGIN_SRC HTML output Date: Sun, 29 Aug 2010 13:18:08 -0500 Message-ID: <87lj7pl1un.fsfhello@somewhere.com> References: <87hbijumal.wl%ucecesf@ucl.ac.uk> <871v9mx4me.fsfhello@somewhere.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=59691 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OpmSU-0006bv-Js for emacs-orgmode@gnu.org; Sun, 29 Aug 2010 14:18:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OpmSS-0005Mh-ON for emacs-orgmode@gnu.org; Sun, 29 Aug 2010 14:18:22 -0400 Received: from lo.gmane.org ([80.91.229.12]:44096) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OpmSS-0005MS-IK for emacs-orgmode@gnu.org; Sun, 29 Aug 2010 14:18:20 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OpmSQ-0000un-Ch for emacs-orgmode@gnu.org; Sun, 29 Aug 2010 20:18:18 +0200 Received: from 201.114.244.16 ([201.114.244.16]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Aug 2010 20:18:18 +0200 Received: from rvf0068 by 201.114.244.16 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Aug 2010 20:18:18 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Puneeth writes: > This has been fixed. Thanks to a patch from Benjamin Beckwith. You can > now use any WP shortcode blocks in your org2blog posts, without losing > line breaks. > > Also, org2blog now directly posts babel src blocks as WP's sourcecode > blocks, without modifying the src blocks in your org file. Just like > with Benjamin's hook function, :syntaxhl header option can still be > used to pass additional arguments to WP's syntaxhighlighter. That is just great, Puneeth, many thanks! I just checked and works as intended. Now, in case you wanted to have some more feature requests, ;-), here they are: 1. Making an option to disable the inclusion of ':light="true"'. 2. Note that Wordpress also includes support for inline math expressions written in LaTeX, like this: $latex E=mc^2$, and displayed expressions, like this: $latex \displaystyle E=mc^2$ (http://rvftestblog.wordpress.com/2010/08/24/code-blocks-again/ to see what I mean). So it would be great if, the exporter could translate $....$ into $latex ....$ and \begin{equation} ....... \end{equation} into $latex \displaystyle ...... $. Best regards, Rafael