diff options
author | ache <ache@ache.one> | 2017-10-16 12:59:34 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2017-10-16 15:11:08 +0200 |
commit | 17093bb3f18f7792de2a63e2482e18c95e03c94f (patch) | |
tree | 92fc4984e68af284257da69626786c39c4636e74 | |
parent | Use userland port (diff) |
HTML safe off
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ const dirTree = require('directory-tree'); const express = require('express'); const fs = require('fs'); -var md = require('markdown-it')(); +var md = require('markdown-it')({'html':true, 'linkify':true}); const app = express(); const path = 'md'; |