Refactor page_generator.rb
Add helper to render markdown in pages views