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);