Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2012-07-30 12:27:17

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,677
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

wet wrote:

Has anyone ever encountered a real user’s requirement to switch away from Textile for the public side, i.e. comment formatting?

A friend commented recently to me that he regularly sees markdown formatting left by visitors on his TXP powered site. He suspects people aren’t paying attention… But I don’t think that makes a use case. Another TXP site where I can peak behind the curtain sometimes has bbcode markup in comments.

Offline

#12 2012-09-13 11:44:13

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,267
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

Installable textfilters have landed in r4115.

A sample Markdown plugin is available at my Github repo: wet_textfilter_markdown. Once installed, the write panel looks like this:

!http://farm9.staticflickr.com/8040/7982410505_cdc685470c_b_d.jpg!

Offline

#13 2012-09-13 12:43:27

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

Textfilters look like a good idea :)


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#14 2012-09-13 15:03:15

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,634
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

Looks good!


Shoving is the answer – pusher robot

Offline

#15 2012-09-18 04:01:55

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

+1! I was very pleased to see the this changeset arrive.

Offline

#16 2012-09-19 16:56:25

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,200
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

What do the two Markdown links under “Textfilter help” go to? (I haven’t installed the plugin.)

And with the inclusion of filters, will the existing Textile help in the top-left column be reduced? I’d like to think it will be simplified. Maybe something nice and clean like this:

Textfilter help

And the Textile link will go to Steve’s new Textile site? Please.

(NB : I haven’t yet installed 4.5.1, so don’t know what’s there.)


The text persuades, the *notes prove。

Offline

#17 2012-09-19 20:27:15

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

I love Textile, but it’s a very nice addition for end users to be able to choose their own preferred markup language.

Destry wrote:

What do the two Markdown links under “Textfilter help” go to?

Markdown: Basics
Markdown: Syntax

Wouldn’t it be better if these links opened in new tabs, like the ‘More’ link for Textile? (Which BTW still goes – via textpattern.com/textile-sandbox – to thresholdstate…)

Maybe something nice and clean like this:

Textfilter help

I quite like the Textile help as it is now, it would be nice if there could be the same basic instructions for Markdown. Don’t know if this (see screenshot below) will be a very likely setup, but for this situation Destry’s suggestion might be a better option ;)

!http://i.imgur.com/j71z2.png!

Offline

#18 2013-02-01 05:06:39

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

wet wrote:

A sample Markdown plugin is available at my Github repo: wet_textfilter_markdown.

I just stumbled upon your plugin while doing a random search on github. I’ve been looking for a solution for a long time to use Markdown in TXP. Question, is the plugin you have using barebones Markdown or Markdown Extra?

Great job!

Offline

#19 2013-02-01 05:17:03

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,267
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

It currently uses plain Markdown.

Offline

#20 2013-02-01 05:30:50

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

Re: Markdown as an option for 4.5? Make it pluggable perhaps!

I might fork this and try and add Extra to it if you don’t mind.

Offline

Board footer

Powered by FluxBB