class Ataru::MarkdownLoader
Public Class Methods
load_file(file_name)
click to toggle source
# File lib/ataru/markdown_loader.rb, line 5 def self.load_file(file_name) text = File.read(file_name) Kramdown::Document.new(text, :input => 'GFM') end