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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to