From a90ca40505bb656ec52c013712acf0be7c77a546 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Tue, 18 Aug 2020 09:47:17 +0200 Subject: [PATCH] Remove unused dependencies --- index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/index.js b/index.js index be647d2..cf60b25 100644 --- a/index.js +++ b/index.js @@ -28,7 +28,6 @@ if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see . */ const express = require('express'); -const md = require('markdown-it')({typographer: true}); const fs = require('fs'); const app = express(); const env = {}; @@ -37,10 +36,6 @@ require('dotenv').config(); let packageData = JSON.parse(fs.readFileSync('package.json')); -md.use(require("markdown-it-anchor")); -md.use(require("markdown-it-table-of-contents"), { "includeLevel": [2, 3], "listType": "ol" }); -md.use(require('markdown-it-title')); - app.set('env', process.env.NODE_ENV || "production"); app.set('view engine', 'pug'); app.set('port', process.env.PORT || 3000);