Redmine rake task to convert content from textile to markdown
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Redmine converter from Textile to Markown Build Status

This is a rake task for Redmine that uses pandoc to convert database content from Textile to Markdown formatting. The conversion is tweaked to adapt to Redmine's special features.

Known limitations

Because Redmine's textile is different than pandoc's textile, and because of some limitation in pandoc, the result will not be perfect, but it should be good enough to get you started. Here are some known limitations:


  1. Backup your database

  2. Install pandoc

  3. Install the task:

    wget -P lib/tasks/
  4. Run the task:

    bundle exec rake convert_textile_to_markdown RAILS_ENV=production


This script was built upon @sigmike answer on Stack Overflow, later slightly modified by Hugues C. and finally significantly completed by us.