Commit Graph

25 Commits

Author SHA1 Message Date
Yukai Huang 74b04d08b5 Merge branch 'master' into es6-integration 2017-01-21 12:55:45 +08:00
Wu Cheng-Han e98278492e Fix meta error not clear on before rendering 2017-01-21 12:50:02 +08:00
Yukai Huang 45c202172e Convert pretty.js to es6 2017-01-05 16:19:13 +08:00
Wu Cheng-Han 9d4ede4cff Fix possible XSS in yaml-metadata and turn using ejs escape syntax than external lib [Security Issue] 2016-11-26 22:55:31 +08:00
Wu Cheng-Han 64d1d2c04b Fix published note won't scroll to hash on load 2016-11-26 19:46:20 +08:00
Wu Cheng-Han 793aef0e2e Fix syntax highlighting not apply correctly in slides 2016-11-07 21:27:58 +08:00
Yukai Huang 58fedb01fa Require pretty stylesheets 2016-11-02 11:55:08 +08:00
Wu Cheng-Han 866c10d942 Update to make pretty use same method as slide to unescape markdown content 2016-10-19 22:09:15 +08:00
Yukai Huang f4f2497d23 Expose parseMeta function 2016-10-13 15:59:22 +08:00
Yukai Huang f678d9b814 Fix cheatsheet rendering
do not process help-modal markdown-body
2016-10-13 15:54:17 +08:00
Yukai Huang 440ad3506c Fix lastchangeui and moment timestamps 2016-10-13 15:13:03 +08:00
Yukai Huang 5355da0960 Workaround for circular require 2016-10-09 21:08:33 +08:00
Yukai Huang 963a435ae1 Resolve dependency module requiring
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin

Note that this commit only fix JavaScript module loading runtime error.
2016-10-08 20:02:30 +08:00
Wu Cheng-Han b4ad011dc1 Fix toc id naming to avoid overlap with user toc 2016-08-15 11:27:32 +08:00
Wu Cheng-Han 23c53f3d15 Update to support slide type in publish note and download html style 2016-07-30 11:07:47 +08:00
Cheng-Han, Wu 49b51e478f Refactor server with Sequelize ORM, refactor server configs, now will show note status (created or updated) and support docs (note alias) 2016-04-20 18:03:55 +08:00
Cheng-Han, Wu 880f6bcf02 Updated to support lang attribute and styles in editor 2016-02-15 19:13:17 -06:00
Cheng-Han, Wu 8db142554f Updated rendering operations to improve performance 2016-02-11 14:35:25 -06:00
Cheng-Han, Wu 4c4a0e0f3f Fixed prevent XSS might break lots of tags and only need after rendered 2016-02-11 03:45:13 -06:00
Wu Cheng-Han 2ecec3b59a Support show last change user with profile and support YAML config inside the note with robots, lang, dir, breaks options 2016-01-12 08:01:42 -06:00
Wu Cheng-Han 9eb23603f4 Added support of toc syntax 2015-12-20 11:28:54 -06:00
Wu Cheng-Han bc31e9fe3b Added deduplicatedHeaderId to avoid multiple same header id 2015-09-25 14:27:23 +08:00
Wu Cheng-Han 6b383d49bb Fixed scroll to body might not animate 2015-09-25 14:08:02 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +08:00
Wu Cheng-Han 4e64583a0b Marked as 0.2.8 2015-05-15 12:58:13 +08:00