From 42db3cac06ad7f49dc10c7993e2df54b5bb4b2ab Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 6 Sep 2007 17:06:07 +0000 Subject: Added code highlighting support in wiki, using this syntax:
 <-- cut here

  

    Place you code here.
  
cut here -->
git-svn-id: http://redmine.rubyforge.org/svn/trunk@710 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/wiki/edit.rhtml | 4 ++++ app/views/wiki/show.rhtml | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'app/views') diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml index 56ed5d8d3..368ab098b 100644 --- a/app/views/wiki/edit.rhtml +++ b/app/views/wiki/edit.rhtml @@ -25,3 +25,7 @@ <% end %>
+ +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'scm' %> +<% end %> diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 06eca76ee..31c4b60ce 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -37,3 +37,7 @@ <%= submit_tag l(:button_add) %> <% end %> <% end %> + +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'scm' %> +<% end %> -- cgit v1.2.3