From fc995412d7a53993b7144b4b1f02045578c6a377 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 21 Jun 2020 21:52:27 +0200 Subject: Add markdown support to descriptions using the 'marked' js library for rendering. --- src/http.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/http.cc') diff --git a/src/http.cc b/src/http.cc index ffd7912..e184114 100644 --- a/src/http.cc +++ b/src/http.cc @@ -101,7 +101,8 @@ int callback_http(struct lws *wsi, if(file == "proto.js" || file == "handler.js" || file == "node.js" || - file == "view.js") + file == "view.js" || + file == "marked.min.js") { return serveFile(wsi, file,"text/javascript"); } -- cgit v1.2.3