Markdown library

Trevor DeVore lists at mangomultimedia.com
Tue Mar 5 08:58:15 EST 2013


On Mon, Mar 4, 2013 at 3:57 PM, Andrew Kluthe <andrew at ctech.me> wrote:

> Does anyone know of a livecode markdown implementation that works with
> fields?
>

Andrew,

I've done a number of conversions to formats like Markdown. My old code
uses htmlText and is quite ugly. I've been rewriting my converters to use a
styledText array which is MUCH simpler. Here is a function for Markdown I
put together this morning which should get you started. I only did minor
testing but lists, styling and colors all work.

https://gist.github.com/trevordevore/5090459

-- 
Trevor DeVore
Blue Mango Learning Systems
www.clarify-it.com    -    www.screensteps.com



More information about the use-livecode mailing list