Search code examples
redmineredmine-plugins

syntax highlight in redmine


The most Users which use redmine, are programmers. They need the code highlight syntax very, very often which is.

< pre >< code class="LANGUAGE_NAME" >

   Some Code

< /code>< /pre>
  • In order to write less, as an editor in the redmine wiki
  • I want to be able to press a button or a dropdown field, which surrounds my selected text (like bold, italic, underlined, pre, h1, h2 and so on which already does.)

Maybe someone can suggest a plugin if that exists. Or shows me the code where the editor happens, so I can implement and provide it as plugin.

Many, many, thanks


Solution

  • I made a plugin which provides this functionality:

    https://github.com/mediatainment/redmine_codebutton/

    Hope this helps someone, till redmine implements it by default.