This is a redmine plugin for supporting Markdown as a wiki format.
ChiliProject is a fork of Redmine a flexible project management web application. See the official site for more details.
(from http://daringfireball.net/projects/markdown/) Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
See the article on John Gruber's blog for more details.
- Copy the plugin directory into the
vendor/plugins
directory - run
bundle install
to install plugin dependencies - Start (or restart) ChiliProject
- ChiliProject and its prerequisites
- redcarpet gem (>= 2.0.0)
Installed plugins are listed on Admin -> Information screen.
By default I enabled __RedCarpet__ʼs :fenced_code_blocks
so you can
syntax highlight you code snippets whereever you like by specifying the
language after three backticks:
```ruby def puts msg Kernel.puts msg end ```
will render as:
def puts msg
Kernel.puts msg
end
The plugin uses ChiliProject's built-in syntax highlighting, which is currently CodeRay
- Larry Baltz for creating the original Redmine Markdown Formatter (using the RDiscount Gem)
- Yuki Sonoda did the real work by creating the redmine_rd_formatter
- Jean-Philippe Lang for making the change to RedMine (based on Yuki's patch) to allow pluggable formatters
- artflakes for putting RedCarpet into the original Redmine Markdown Formatter