Redmine Wiki Extension that allows placement of raw HTML, CSS or JS into your wiki. Useful for Web UI Demos.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.textile
init.rb
sample_usage.txt

README.textile

What does it do?

This redmine plugin exposes extra macros in your redmine wikis. These macros are used to dynamically load css file, js file or inject raw HTML into your wiki page.

Exposed Macros

  • css_url()
  • js_url()
  • html()
  • css()
  • js()

Examples

{{html
<ul>
   <li>option 1</li>
   <li>option 2</li>
   <li>option 3</li>
</ul>
}}

You can also use css() macro to embedd raw CSS into the middle of a wiki page.

{{css
.fooClass{
  color:red;
  padding:15px;
}
#barID{
  margin-left:15px;
}
}}

Include external static assets to your wiki page

{{css_url('https://rawgithub.com/twbs/bootstrap/master/dist/css/bootstrap.min.css')}}
{{js_url('https://rawgithub.com/twbs/bootstrap/master/dist/js/bootstrap.min.js')}}

See it in action

Visit the original blog post for a video of the plugin in action.
arlocarreon.com/blog/redmine/redmine-wiki-html-utility/

Installation

Navigate to:
[redmine_install_path]/plugins

Clone this repo:
git clone git://github.com/mexitek/redmine_wiki_html_util.git

Restart Redmine (example below is using bitnami stack):
sudo /etc/init.d/bitnami restart

License: arlo.mit-license.org