From 16673fa38b6f6226b855b5d75ec28dde7d6eb015 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Fri, 14 Apr 2017 19:28:00 +0100 Subject: [PATCH] build(aio): remove unused config code --- aio/transforms/angular.io-package/index.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/aio/transforms/angular.io-package/index.js b/aio/transforms/angular.io-package/index.js index bf0cb09285..e866fe3e0a 100644 --- a/aio/transforms/angular.io-package/index.js +++ b/aio/transforms/angular.io-package/index.js @@ -207,7 +207,7 @@ module.exports = // Configure nunjucks rendering of docs via templates .config(function( - renderDocsProcessor, versionInfo, templateFinder, templateEngine, getInjectables, renderMarkdown) { + renderDocsProcessor, versionInfo, templateFinder, templateEngine, getInjectables) { // Where to find the templates for the doc rendering templateFinder.templateFolders = [TEMPLATES_PATH]; @@ -234,12 +234,6 @@ module.exports = renderDocsProcessor.helpers.relativePath = function(from, to) { return path.relative(from, to); }; - - // Tell the HTML formatter not to format code-example blocks - renderMarkdown.unformattedTags = [ - 'code-example', - 'code-pane' - ]; })