Redmine Reformat
Redmine Reformat 通过一套rake任务,实现Redmine富文本字段文本格式的灵活转换和批量格式处理。
Redmine Reformat 通过一套rake任务,实现Redmine富文本字段文本格式的灵活转换和批量格式处理。
作者: | redmineplugins.cn Admin | |
---|---|---|
主页: | https://github.com/orchitech/redmine_reformat | |
版本库: | https://github.com/orchitech/redmine_reformat | |
创建于: | 2022-11-05 | |
当前版本: | 0.8.1 | |
兼容性: | 5.0.*, 4.2.*, 4.1.*, 4.0.*, 3.4.* |
Redmine Reformat 通过一套rake任务,实现Redmine富文本字段文本格式的灵活转换和批量格式处理。例如,实现 Redmine UEditor «百度»富文本编辑器 的html和markdown、textile等格式之间相互转换。
功能介绍
举例 textile 转换成 html
bundle exec rake reformat:convert to_formatting=html /Users/user/Documents/svndata/redmine/app/helpers/application_helper.rb:1001: warning: already initialized constant ApplicationHelper::LINKS_RE /Users/user/Documents/svndata/redmine/app/helpers/application_helper.rb:1001: warning: previous definition of LINKS_RE was here Running with setup: {:converters_json=>"(use default converters)", :to_formatting=>"html", :workers=>1, :dryrun=>false} All 1/1 workers started. Settings Comment: converting 0/0 non-blank [:comments] occurences of 0 total Document: converting 0/0 non-blank [:description] occurences of 0 total Issue: converting 4/4 non-blank [:description] occurences of 5 total Issue: 4 / 4 JournalDetail[Issue.description]: converting 7/7 non-blank [:value, :old_value] occurences of 7 total JournalDetail[Issue.description]: 7 / 7 Journal: converting 5/5 non-blank [:notes] occurences of 19 total Journal: 5 / 5 Message: converting 0/0 non-blank [:content] occurences of 0 total News: converting 0/0 non-blank [:description] occurences of 0 total Project: converting 1/1 non-blank [:description] occurences of 4 total Project: 1 / 1 WikiContent: converting 0/0 non-blank [:text] occurences of 0 total Wiki versions: converting 0/0 historic content revisions 1/1 workers finished successfuly. 1/1 workers confirmed completion. Progress monitoring finished.
如果使用 TextileToMarkdown 转换器,请 安装pandoc 。 其它格式转换不需要额外依赖
兼容性: Redmine 4.0.*, 4.1.*, 4.2.*, 5.0.*
文件
redmine_reformat-0.8.1.zip (100 KB)
兼容性: Redmine 3.4.*, 4.0.*, 4.1.*, 4.2.*
Added PUT method to both provided microservicee and WS converter. PUT is now the default when invoking external services - preferring idempotent requests. Improved microservice error handling.
文件
redmine_reformat-0.6.1.zip (154 KB)
兼容性: Redmine 3.4.*, 4.0.*, 4.1.*, 4.2.*
引入了LinkRewriter转换器用于更新wiki的链接引用。对于项目和wiki重建非常有用,例如重命名项目标识符、合并项目等场景。
文件
redmine_reformat-0.5.0.zip (153 KB)
没有任何数据可供显示
# | 跟踪 | 状态 | 作者 | 主题 | 更新于 |
---|---|---|---|---|---|
304 | 报错 | 已解决 | feng hua | 安装后没有看到操作界面 | 2022-03-04 17:34 |
444 | 报错 | 进行中 | 廖 佳鑫 | 安装插件时 bundle install 报错 | 2022-12-09 10:37 |
评论
添加评论