Skip to content

mexitek/redmine_wiki_html_util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Redmine Wiki Extension that allows placement of raw HTML, CSS or JS into your wiki. Useful for Web UI Demos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages