Markdown library

Andrew Kluthe andrew at ctech.me
Tue Mar 5 12:05:37 CST 2013


It works quite well, but I realized not long after testing it that what I
need is a markdown to styledText converter. I am going to use your function
and try to reverse it to take markdown and give me styledText. Also, is
styledText part of the new field control in 5.x? Most of what I do is in
4.6 still, but I am finding more and more reasons to convert things over to
5ish.

Andrew

On Tue, Mar 5, 2013 at 9:41 AM, Andrew Kluthe <andrew at ctech.me> wrote:

> Wow. Great Trevor. Thanks. I'll give that a go.
>
>
> On Tue, Mar 5, 2013 at 7:58 AM, Trevor DeVore <lists at mangomultimedia.com>wrote:
>
>> 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
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> Regards,
>
> Andrew Kluthe
> andrew at ctech.me
>



-- 
Regards,

Andrew Kluthe
andrew at ctech.me


More information about the use-livecode mailing list