paprika/src
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
2020-04-12 16:53:51 +08:00
..
blog.rs integrate hljs into backend to provide code highlighting 2020-04-12 16:53:51 +08:00
hljs.rs integrate hljs into backend to provide code highlighting 2020-04-12 16:53:51 +08:00
hljs_tpl.rs integrate hljs into backend to provide code highlighting 2020-04-12 16:53:51 +08:00
lib.rs integrate hljs into backend to provide code highlighting 2020-04-12 16:53:51 +08:00
render.rs render: use static Handlebars instance 2020-04-12 15:10:46 +08:00
router.rs initial commit 2020-04-07 16:10:01 +08:00
sn.rs implement Markdown rendering 2020-04-09 14:47:46 +08:00
store.rs store: do not panic when kv reads null 2020-04-07 21:31:10 +08:00
utils.rs render: implement pagination 2020-04-10 20:57:53 +08:00