From: Aidan Gauland <aidalgol@no8wireless.co.nz>
To: emacs-orgmode@gnu.org
Subject: Re: parsing formatted text
Date: Fri, 29 Oct 2010 08:58:14 +0000 (UTC) [thread overview]
Message-ID: <loom.20101029T105717-35@post.gmane.org> (raw)
In-Reply-To: 87iq0lv2bb.fsf@gmail.com
Eric Schulte <schulte.eric <at> 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
>
> "<p>plain plain <b>bold</b> plain</p>"
Thanks! That's just what I was looking for!
--Aidan
next prev parent reply other threads:[~2010-10-29 9:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-29 7:50 parsing formatted text Aidan Gauland
2010-10-29 8:19 ` Eric Schulte
2010-10-29 8:58 ` Aidan Gauland [this message]
2010-10-29 19:59 ` Aidan Gauland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20101029T105717-35@post.gmane.org \
--to=aidalgol@no8wireless.co.nz \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).