Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.77 KB

File metadata and controls

35 lines (24 loc) · 1.77 KB

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:

Usage

  1. Backup your database

  2. Install pandoc

  3. Install the task:

    cd $REDMINE_ROOT_DIRECTORY
    wget -P lib/tasks/ https://github.com/Ecodev/redmine_convert_textile_to_markown/raw/master/convert_textile_to_markdown.rake
  4. Run the task:

    bundle exec rake convert_textile_to_markdown RAILS_ENV=production

History

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