Coder Social home page Coder Social logo

kengi / redmine_wiki_html_util Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mexitek/redmine_wiki_html_util

0.0 1.0 0.0 14 KB

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

Home Page: http://www.arlocarreon.com/blog/redmine/redmine-wiki-html-utility/

Ruby 100.00%

redmine_wiki_html_util's Introduction

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

redmine_wiki_html_util's People

Contributors

mexitek avatar neuni avatar robspearman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.