Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-12-26 12:19:20

Registered: 2009-12-23
Posts: 36

PHP-Markdown Integration

What’s the prescribed method these days for using Markdown in the admin side for writing content? I’ve searched, but only see old stuff, and it looks like txp-markdownlib (otherjoel’s GitHub project) might be the way to do it these days. What’s the consensus?

And this is offtpic, I’m sure, but can anyone point me in the direction of someone I can talk to or something I can read about converting docs to markdown? I saw there was a need, but I didn’t want to just go charging in without having a better idea of where things were headed.


#2 2018-12-26 12:36:55

Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,878

Re: PHP-Markdown Integration

There is a plugin for that… : wet_textfilter_markdown.

Install from them .txt file as usual, enable it and then you can select Markdown to write your articles on the Write tab. You can even make it the default option (Admin > Preferences > Publish, the select next to Use Textile)

Last edited by phiw13 (2018-12-26 12:37:13)


#3 2018-12-26 13:49:15

From: Leeds, UK
Registered: 2006-01-29
Posts: 9,032

Re: PHP-Markdown Integration

And for converting docs, see the Pandoc project. It’s ace.

The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp


Board footer

Powered by FluxBB