Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
fix: all markdown properties are passed to the render function
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 7, 2016
1 parent 5840ae6 commit ac83c47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ const renderInstallation = require('./lib/render-installation')

function plugin (markdown) {
return {
installation: opts => renderInstallation(Object.assign(opts || {}, {
pkg: markdown.pkg,
})),
installation: opts => renderInstallation(Object.assign(opts || {}, markdown)),
}
}

0 comments on commit ac83c47

Please sign in to comment.