On 07/28/2013 12:18 PM, Yujie Wen wrote: > Hi, > > I am working on the org-reveal exporter and I need to convert a string > get from org-element-property into HTML format. The property string have > some Org-mode markups that need to be converted to relevant HTML labels. > For example, a string of "/italic/" to "<i>italic</i>" > > Is there any existing Org-mode functions can help me to achieve this > kind of functionality? > > Regards, > Yujie >
Hi Yujie, how about applying the exporter to the string, e.g. something like (with-temp-buffer (insert (plist-get plist yout-property-string)) (org-html-export-as-html nil nil nil t new-plist) (buffer-string)) (didn't test, just typed this into the mail) Best regards Robert