Peter Cai f519152465
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 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
2020-04-12 16:53:51 +08:00

25 lines
653 B

"name": "paprika",
"version": "0.1.0",
"description": "A simple blog integrated with Standard Notes and running on Cloudflare Workers",
"main": "worker.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"repository": {
"type": "git",
"url": "git+"
"author": "PeterCxy",
"license": "WTFPL",
"bugs": {
"url": ""
"homepage": "",
"devDependencies": {
"@wasm-tool/wasm-pack-plugin": "^1.2.0",
"highlight.js": "^9.18.1",
"webpack": "^4.42.1"