From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: How to convert a string to Org parsed tree Date: Sun, 28 Jul 2013 20:17:07 +0800 Message-ID: <87ppu2516k.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3Pu9-0003oZ-Bu for emacs-orgmode@gnu.org; Sun, 28 Jul 2013 08:17:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3Pu2-00015R-43 for emacs-orgmode@gnu.org; Sun, 28 Jul 2013 08:16:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:48196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3Pu1-000158-Tj for emacs-orgmode@gnu.org; Sun, 28 Jul 2013 08:16:46 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V3Pu0-0004Pn-6D for emacs-orgmode@gnu.org; Sun, 28 Jul 2013 14:16:44 +0200 Received: from 50.56.99.223 ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jul 2013 14:16:44 +0200 Received: from eric by 50.56.99.223 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Jul 2013 14:16:44 +0200 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: emacs-orgmode@gnu.org Yujie Wen writes: > Hi, > >   I am working on the org-reveal exporter and I need to convert a > string get from org-element-property into HTML format. The property > string have some Org-mode markups that need to be converted to > relevant HTML labels. For example, a string of "/italic/" to " > italic" > >   Is there any existing Org-mode functions can help me to achieve > this kind of functionality? > > Regards, > Yujie Try out `org-export-string-as', that will probably do what you want... E