pf » Textile for ColdFusion
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.
Related Entries
- CFImage Effects Library for ColdFusion 8 - August 9, 2007
- Mastering CFQUERYPARAM - July 24, 2008
- Getting ColdFusion SQL Statements from SQL Server Trace - June 16, 2008
- CFSCRIPT Cheatsheet - May 5, 2008
- ColdFusion 8 Update 1 Fixes some Image Processing Quirks - April 5, 2008
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!
- Mastering CFQUERYPARAM
- Google Code Search for ColdFusion
- Speaking at CFUNITED 2008
- Getting ColdFusion SQL Statements from SQL Server Trace
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
- Googlebot to Submit Web Forms
- ColdFusion 8 Update 1 Fixes some Image Processing Quirks
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in











