From f18298834684b47dec69dd8f6d231502bc903cf0 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Fri, 3 Dec 2021 04:30:05 +0100 Subject: [PATCH] Use google code prettifier --- package.json | 1 + web/index.js | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index cbf4e25..b326deb 100644 --- a/package.json +++ b/package.json @@ -21,5 +21,6 @@ }, "dependencies": { "bootstrap-icons": "^1.7.1", + "code-prettify": "^0.1.0" } } diff --git a/web/index.js b/web/index.js index 24003df..53311d5 100644 --- a/web/index.js +++ b/web/index.js @@ -1,4 +1,9 @@ import "./font.css" import "./index.scss" -import "bootstrap-icons/font/bootstrap-icons.css" \ No newline at end of file +import "code-prettify/styles/desert.css" +import "bootstrap-icons/font/bootstrap-icons.css" + +import "code-prettify" + +PR.prettyPrint();