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
- Hands on ColdFusion Security Training - February 4, 2010
- Implicit Structure Notation ColdFusion - January 13, 2009
- Mastering CFQUERYPARAM - July 24, 2008
- Getting ColdFusion SQL Statements from SQL Server Trace - June 16, 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!
- J2EE Session Cookies on ColdFusion / JRun
- Hands on ColdFusion Security Training
- ColdFusion 9 Solr Vulnerability - Are you at Risk?
- FCKEditor Year 2010 Bug for Firefox 3.6
- jQuery UI Sortable Tutorial
- CFLogin Security Considerations
- Use varchar(max) instead of text in SQL Server
- ColdFusion SOAP Web Services and onRequestStart
RSS

add to del.icio.us
Pete Freitag is a software engineer, and web developer located in











