[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: parsing formatted text
From: |
Aidan Gauland |
Subject: |
[Orgmode] Re: parsing formatted text |
Date: |
Fri, 29 Oct 2010 19:59:33 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
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>"
Actually, now that I've tried that, I'm getting prompted for a
filename when I evaluate that.
Evaluating (org-export-string "plain plain *bold* plain" "html")
prompts me (in the minibuffer) with...
File to save in: /tmp/
I can't see any obvious s-exp in the definition of org-export-string
that would be bringing up the prompt. Aside from the prompt, this
function is exactly what I want. Any idea how I could get rid of the
prompt so I can run the function non-interactively?
--Aidan