On Sun, Nov 5, 2017 at 2:40 PM, Kay C Lan via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Nor was I aware that mergMardownToXHMTL existed, so thank you for
> raising this thread so James could enlighten us. Now all I need is
> someone to tell me there is similar function that converts HTML (or
> more specifically the LC subset of HTML used by Fields) to Markdown
> otherwise I too will be reading more about Markdown (thanks for the
> link) and learning something new.

Here is some old code I used in the past which was modified from some other
converted I had written for Textile and BBCode. If I were writing the
converter today I would use the styledText array to do it. It is great for
converting to other formats.



`put htmlTextToMarkdown(htmltext of fld 1)`

Trevor DeVore
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to