Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-14 23:56:46

ubernostrum
Member
From: Lawrence, KS
Registered: 2004-05-05
Posts: 238
Website

What happened to Markdown?

I just upgraded to 4.0.3 and went to replace my hacks to use Markdown, only to find that the way TXP calls Textile on comments has apparently completely changed. Anyone got ideas for how to remedy this so I can switch back to Markdown?


You cooin’ with my bird?

Offline

#2 2006-01-15 05:38:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,261
Website

Re: What happened to Markdown?

> ubernostrum wrote:

I just upgraded to 4.0.3 and went to replace my hacks to use Markdown, only to find that the way TXP calls Textile on comments has apparently completely changed. Anyone got ideas for how to remedy this so I can switch back to Markdown?

I documented that a while ago.

The syntax I use now (403) is slightly different, but you get the idea. I’m not on a machine with my code accessible. Shoot a mail if you want it.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2006-01-15 07:03:26

ubernostrum
Member
From: Lawrence, KS
Registered: 2004-05-05
Posts: 238
Website

Re: What happened to Markdown?

Thanks, Philippe. I’ll give it a try and let you know how it goes.


You cooin’ with my bird?

Offline

#4 2006-01-17 00:27:54

Elenita
Member
From: Falls Church, VA
Registered: 2004-05-16
Posts: 407
Website

Re: What happened to Markdown?

Ubernostrum, any luck?

I was using Markdown without a problem for several months (all the v4.0x releases, and probably further back), but I just updated to r1228 via SVN and my Textpattern backend wouldn’t load properly. I got an error that I didn’t stupidly think to make a note of, but I think it mentioned something about line 1202. I had to switch back to Textile.

Offline

#5 2006-01-17 01:33:21

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,261
Website

Re: What happened to Markdown?

> Elenita wrote:

edit /lib/txplib_misc — function markup_comment($msg)

replace with the code in this text file.

$LastChangedRevision: 1170 $, TXP 403 @ rev 1212.
Possibly no the cleanest way to solve the problem, but I haven’t had lots of time recently to dive more into TXP code.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB