Is anyone using the Markdown output method at all in their projects?
If so, can you share examples of what's been done?
I came up with the following piece of code, which works for output of
a <ul> on the page based on a collection, but I was curious as to
whether someone had been using it consistently and in what ways.
Cheers
Lucio
<%
[Castle.MonoRail.Views.Brail.MarkDown]
def MarkDownOutput(str as string):
return str
end
%>
<%
list = [1, 2, 3]
out = ""
for item in list:
out += "* ${item}\n"
end
output MarkDownOutput(out)
%>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---