index : paprika

A blogging platform written in Rust for Cloudflare Workers, integrated with Standard Notes

path: root/package-lock.json
diff options
context:
space:
mode:
authorPeter Cai <[email protected]>2020-04-12 16:53:51 +0800
committerPeter Cai <[email protected]>2020-04-12 16:53:51 +0800
commitf519152465dc1caa125d3d220c8f370316035dde (patch)
treeb5158621acdd28e8ff86768a5f115c29f86ce34d /package-lock.json
parent26bb98b11e5f7f1c34cce72d684c808859c20d42 (diff)
downloadpaprika-f519152465dc1caa125d3d220c8f370316035dde.tar.gz
integrate hljs into backend to provide code highlighting
1. Use hljs and wasm_bindgen to parse code 2. Allow the final user to choose what language to include by generating inline_js in build.rs for #[wasm_bindgen] (a thin wrapper around the raw hljs to load whatever is needed by config.json statically rather than dynamically) 3. Integrate the monokai color scheme into our default theme
Diffstat (limited to 'package-lock.json')
-rw-r--r--package-lock.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/package-lock.json b/package-lock.json
index bab64b4..a4c924c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1982,6 +1982,12 @@
"minimalistic-assert": "^1.0.1"
}
},
+ "highlight.js": {
+ "version": "9.18.1",
+ "resolved": "https://registry.npm.taobao.org/highlight.js/download/highlight.js-9.18.1.tgz",
+ "integrity": "sha1-7SGqAB/mJSuxCj121HVzxlOf4Tw=",
+ "dev": true
+ },
"hmac-drbg": {
"version": "1.0.1",
"resolved": "https://registry.npm.taobao.org/hmac-drbg/download/hmac-drbg-1.0.1.tgz",