Textile for ColdFusion
A few weeks ago I mentioned that I had an open source project in the pipeline. Well I've been really busy so I haven't had a chance to release it until now...
I built a UDF for converting textile markup into HTML markup.
You can learn more about textile here. My UDF doesn't support all the features of textile yet, but it does have quite a few of them.
Download the ColdFusion UDF for Textile.
BTW you should see this in some upcoming projects from foundeo.
Tweet
Related Entries
- CFImage Effects Library for ColdFusion 8 - August 9, 2007
- Announcing CFML Weekly Email - October 19, 2012
- Client Variable Cookie CFGLOBALS Includes Session Ids - July 14, 2011
- Maximum Security CFML - cfObjective Slides - May 17, 2011
- Sponsoring and Speaking at cf.Objective() 2011 - January 27, 2011
Trackbacks
Comments
Thanks for the work, I integrated it into Ray's Galleon 1.5 forum package and both things into my application and it's looking good!
Seeing as I've got PHP installed on my web server to run forums, I've created a UDF which uses CFHTTP to run the source text through the PHP parser, and return it. I've also tweaked it to give the option of HTML or XHTML output...
The advantages are (1) it is the official release of Textile, so should be pretty much correct! and (2) if they update Textile, I can just drop in the revised PHP page and it's up to date.
Pete - I do however wish you every success in developing the CF version...
So, I have taken MarkdownJ - a perfect Java port of Markdown - and turned it into CFX_Markdown, a Java-based CFX tag.
I have today released it into the wild - if any of you are interested in trying it out, you can get it from my website:
http://sebduggan.com/CFX_Markdown/
However as Brian says, I think they are a few tiny mistakes.
For example I had: "levels have inter-linkage and a search option is provided on all pages.. ..for improvements / add-ons" and it STRIKEd-out everything from "inter" to "/ add".
Can you release Brian's updated version?
I found a bug, though! The check to see whether you should end an unordered list doesn't trim the next line in the input before checking its length (which you do in the same check for the ordered list handler); this causes the list never to end because even a blank line has a carriage return on it.
This is the original: <cfif index+1 GT lines OR NOT len(lineArray[index+1])>
And my fix: <cfif index+1 GT lines OR NOT len(trim(lineArray[index+1]))>
Works brilliantly, cheers!
If you do a single item list, anything after that list disappears.
Here is the text I used " * There should be two blank lines after a list, even if there is nothing after it!
However, this one has something after it! "
If you do a single item list, anything after that list disappears.
Here is the text I used " * There should be two blank lines after a list, even if there is nothing after it!
However, this one has something after it! "
Post a Comment
Recent Entries
- Writing Secure CFML cfObjective 2013 Slides
- Upgrading to Java 7 on Linux
- J2EE Sessions in CF10 Uses Secure Cookies
- Learn about ColdFusion Security at cfObjective 2013
- Session Loss and Session Fixation in ColdFusion
- FuseGuard 2.3 Released
- CKEditor Spell Checker Plugin
- Adobe Says Go Ahead and Upgrade your ColdFusion JVM


add to del.icio.us



