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.
- css_url()
- js_url()
- html()
- css()
- js()
{{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')}}
Visit the original blog post for a video of the plugin in action.
arlocarreon.com/blog/redmine/redmine-wiki-html-utility/
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