Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

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

craigbass76
Member
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.

Offline

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

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

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)


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

Offline

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

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,250
Website GitHub

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

Offline

Board footer

Powered by FluxBB