module Markdown
Defined in:
markdown.crClass Method Summary
-
.new_page(path)
Create a new "page" file
-
.new_post(path)
Create a new "post" file
-
.read_all(path)
Parse all markdown posts in a path and build Markdown::File objects out of them
-
.render(posts, require_date = true)
Render given posts using given template
-
.render_index(posts, output, title = nil, extra_inputs = [] of String, extra_feed = nil)
Create an index page out of a list of posts, save in output
-
.render_rss(posts, output, title)
Create a RSS file out of posts with title, save in output
-
.validate(posts, require_date = true)
Similar to self.render but it only validates correctness of posts without actually generating output
Class Method Detail
Parse all markdown posts in a path and build Markdown::File objects out of them
Render given posts using given template
posts is an Array of Markdown::File
if require_date is true, posts must have a date
Create an index page out of a list of posts, save in output
Create a RSS file out of posts with title, save in output
Similar to self.render but it only validates correctness of posts without actually generating output