Skip to content
Permalink
Browse files

Expose marked in pages

  • Loading branch information
tlvince committed Nov 24, 2012
1 parent ede4433 commit 8c8e0faed8b76629825ab270cb79034e48f165c6
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/plugins/page.coffee
@@ -3,6 +3,7 @@ path = require 'path'
async = require 'async'
underscore = require 'underscore'
moment = require 'moment'
marked = require 'marked'

{ContentPlugin} = require './../content'
{stripExtension, extend} = require './../common'
@@ -49,6 +50,7 @@ class Page extends ContentPlugin
contents: contents
_: underscore
moment: moment
marked: marked
extend ctx, locals
template.render ctx, callback
], callback

0 comments on commit 8c8e0fa

Please sign in to comment.
You can’t perform that action at this time.