angular-cn/aio/tools/transforms/remark-package/index.js

10 lines
358 B
JavaScript

var Package = require('dgeni').Package;
/**
* @dgPackage remark
* @description Overrides the renderMarkdown service with an implementation based on remark
*/
module.exports = new Package('remark', ['nunjucks'])
.factory(require('./services/markedNunjucksFilter'))
.factory(require('./services/renderMarkdown'));