From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aidan Gauland Subject: Re: parsing formatted text Date: Fri, 29 Oct 2010 08:58:14 +0000 (UTC) Message-ID: References: <87iq0lv2bb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48543 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBkum-0007v7-Us for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 05:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBknB-0004px-0V for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 04:58:34 -0400 Received: from lo.gmane.org ([80.91.229.12]:44613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBknA-0004pl-RD for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 04:58:32 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PBkn5-0000cM-Ow for emacs-orgmode@gnu.org; Fri, 29 Oct 2010 10:58:27 +0200 Received: from 114-134-7-235.rurallink.co.nz ([114.134.7.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Oct 2010 10:58:27 +0200 Received: from aidalgol by 114-134-7-235.rurallink.co.nz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 29 Oct 2010 10:58:27 +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 Eric Schulte gmail.com> writes: > You could pass the text through the `org-export-string' function to > generate a string of HTML from a string of Org markup. > > e.g. > > (org-export-string "plain plain *bold* plain" "html") > > returns the following string > > "

plain plain bold plain

" Thanks! That's just what I was looking for! --Aidan