Added wiki macros support. 2 builtin macros are defined: hello_world (sample macro that displays the arguments) and macro_list (display the list of installed macros).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@897 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-11-12 14:36:33 +00:00
parent a8419c1425
commit 8a8f819d27
8 changed files with 154 additions and 15 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ h1, h2, h3, h4 { font-family: Trebuchet MS,Georgia,"Times New Roman",serif; }
<% @pages.each do |page| %>
<hr />
<a name="<%= page.title %>" />
<%= textilizable page.content.text, :wiki_links => :anchor %>
<%= textilizable page.content ,:text, :wiki_links => :anchor %>
<% end %>
</body>