Hi Aidan, 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>" -- Eric Aidan Gauland <aidal...@no8wireless.co.nz> writes: > Hello, > > I have written an elisp program to generate an ATOM feed from an > org-mode file. I want to generate appropiate HTML from fromatted text > (such as *bold* and /italic/). Since it does not use org's export > module (for which this isn't really appropriate anyway), I have no > idea if there is any way I can use existing org functions to parse a > paragraph to recognise formatted text so I can process it > appropriately, or if I must write my own parsing code. Can any of the > more experienced org-mode hackers offer any advice? > > Thanks, > Aidan Gauland > > > > _______________________________________________ > 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 _______________________________________________ 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