I think that the implementation of Textile (
http://textism.com/tools/textile/) and/or Markdown (
http://daringfireball.net/projects/markdown/) would be extremely useful in MODx. While TinyMCE and FCKeditor are good in their own respects, I think many users would like the opportunity to use one (or both) of these wiki-style syntaxes. It would be a great addition to an already awesome CMS!
Keep up the good work and please consider this suggestion!
Hi afkuz ,
Many thanks for the suggestions.
I’m delighted to say that as of MODx TP2.1 both Textile and Markdown can be easily implemented as plugins. It’s as easy as ABC. TP3 will event make it much easier.
example:
A) Create a plugin that listens to the OnDocumentPrerender event that would convert textile syntax found within <textitle> tags.
B) Add some content to a document using the textarea:
<textitle>
h2{color:green}. This is a title
h3. This is a subhead
</textitle>
C) Load up your web page and you’re done
The same can be done for the Markdown syntax:
<markdown>
* Candy.
* Gum.
* Booze.
</markdown>
Boy, this is really wonderful stuff.
I really like what daringfireball does too.
Combine all of this into ModX and phew this is going rock the net!
Tangent-Warrior

xwisdom,
I really would like to take the time to create a plugin that would implement Textile, but I have no idea where to begin. I’m really not sure of how Textile even works behind the scenes... all I know is that it does its job VERY well and formats nice clean XHTML. If you have any suggestions or ideas please share them. Would it be possible to have this be a "factory-installed" feature in the next release? Also, about when are we due for the next release? I can’t say how much I love this CMS! Keep up the great work!
Quote from: rthrash at Jun 20, 2005, 12:36 PM
There’s a 50/50 chance you’ll see another release late this week. It should include the "real" module implementation and some sample plugins you can use to model integrating Textile and/or Markdown. We’ll definitely keep everyone up to date. 
Freakin’ awesome! You guys do great work! The prospect of including Textile/Markdown into this software will make it one of the best tools a web designer/developer could possibly want. As always, thanks for the great work!
Quote from: afkuz at Jun 20, 2005, 06:46 PM
Freakin’ awesome!? You guys do great work!? The prospect of including Textile/Markdown into this software will make it one of the best tools a web designer/developer could possibly want.? As always, thanks for the great work!
Which would you guys prefer to see, A Textile/Markdown Text Editor or a simple Textile/Markdown Parser plugin?
Using the parsers you can include include both <textile> and <markdown> codes anywhere inside your document or template.
example:
<textitle>
h2{color:green}. My Title
</textitle>
<markdown>
* Candy.
* Gum.
* Booze.
</markdown>
Quote from: xwisdom at Jun 20, 2005, 09:09 PM
Which would you guys prefer to see, A Textile/Markdown Text Editor or a simple Textile/Markdown Parser plugin?
I think I would like to see a Textile/Markdown text editor... it’s easy enough to create the template in regular (X)HTML, so that might just be more work for the developer. Really, I’m cool either way... whichever you guys feel would be more beneficial than by all means I’ll be happy. We just need to make sure that there is a quick tag reference on-hand (or at least a link to the documentation for each syntax), since it can be a little difficult to remember some of the syntax.
What’s the license used for Textile and Markdown? And where can I download the latest php codes?
I’ve found this site but it does not show the license and I don’t know if it has the lastest versions:
http://www.movalog.com/archives/dynamic/breaking-plugins?p=2
-
☆ A M B ☆
- 24,524 Posts