> Thank you Willem,
>
> This looks very helpful.
>
> I am trying the code out in a scratch buffer and I am unable to gnerate
> org
> syntax, e.g. with this test string:
>
> (h-2-o-insert-org-source-for-html  "<p><a
> href=\"http://example.org/\";>hello</a>
> <span style=\"font-style:italic;\">world<br/> foo</span></p>" )
>
>
> Am I doing something wrong?  Thanks,
> Matt


No you are not doing anything wrong.
What happens is that:

1. I have not implemented links.  This should be easy
   to fix and I will do this when I get home.
2. Similarly for the <span> element.   However I do not
   exactly know what the corresponding Org syntax should be?
   Would you expect:

   /world/
   /foo/

   Or is there a structured element in org mode that renders
   a block as italics?

I will see what I can do about point 2.

In general, I am a bit torn between:

- faithful transformation.
- Getting readable org source.

I am leaning towards the readable org source and
sacrificing the faithfulness.

Wim Oudshoorn.


Reply via email to