projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Corrected name for volume_test.go.
[arvados.git]
/
doc
/
zenweb-textile.rb
1
require 'zenweb'
2
3
module ZenwebTextile
4
VERSION = '0.0.1'
5
end
6
7
module Zenweb
8
class Page
9
10
##
11
# Render a page's textile and return the resulting html
12
def render_textile page, content
13
require 'RedCloth'
14
RedCloth.new(content ? content : self.body).to_html
15
end
16
end
17
end