Use Redcarpet.
Convert textile to markdown.