Skip to content

borisershov/redmine_convert_textile_to_markown

 
 

Repository files navigation

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.

About

Redmine rake task to convert content from textile to markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%