Markdown ultra-lite

Alex Tweedly alex at
Sun Nov 5 20:31:20 EST 2017

Well, just for completeness, I'll report that I have decided to use my 
own simple-minded version rather than mergMarkdownToXHTML.

I had added one tiny convenience feature (a trailing "*" in a URL would 
be converted to make the link open in a new browser tab/window - by 
changing it to  TARGET="_blank" ) to make it easier for my 'authors' to 
get it right. Turns out this isn't *just* a convenience - regular 
Markdown has *no way* to specify a link that opens in a new tab. In 
fact, Markdown doesn't allow spaces in the URI, so you can't even type 
it out longhand. Since many, or even most, of the links in articles on 
my site will want to open in new tabs, it's out of the question to do 
without that - so mergMarkdownToXHTML isn't going to work.

So - I'm back to my own converter .... which will undoubtedly get a few 
more features added in the next week or so, so I'll post the final 
version (or a link to it) when I think I'm done.

-- Alex.

On 05/11/2017 20:40, Kay C Lan via use-livecode wrote:
> On Sun, Nov 5, 2017 at 1:39 AM, Alex Tweedly via use-livecode
> <use-livecode at> wrote:
>> (*)  I read about Markdown; it was interesting; I learned something - no
>> hours were truly "wasted"
> 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.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list