77309e2ea4
The sections such as methods and decorator options are already headed by a H3 heading so we need to map the H3 headings in the API doc source down to H4 headings. This commit includes general heading mapping functionality accessible via the `marked` Nunjucks filter. PR Close #24000
10 lines
358 B
JavaScript
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'));
|