4 Commits (24f8b36afff519514686afa01fb8fc080f4ff6f0)

Author SHA1 Message Date
Peter Cai 24f8b36aff
chore: update Node dependencies
* and get rid of Taobao NPM registry.
* I used it because I was blocked from official repo by npmjs for
  whatever reason.
3 years ago
Peter Cai d3745ae188
add MIT LICENSE 3 years ago
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 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
3 years ago
Peter Cai c91d152d65
project restruct: use webpack instead of wrangler's wasm-pack support
The generated script from wrangler keeps re-instantiating the WASM
module every time the request is processed. Instead, let's switch to
using the much, much better Webpack support for WASM.
3 years ago