Commit Graph

139 Commits

Author SHA1 Message Date
Wu Cheng-Han 5640de8c77 Update to make history not depends on extra 2016-10-19 22:10:33 +08:00
Wu Cheng-Han d44e830366 Update emoji parser using markdown-it-emoji instead of emojify to solve issue #217 2016-10-18 16:50:58 +08:00
Wu Cheng-Han eb724b05a7 Optimize finishView selector performance by avoid using universal selector, fix finishView code indentation and remove empty line 2016-10-18 12:15:35 +08:00
Wu Cheng-Han 843f025cb5 Fix finishView mermaid might select and replace whole markdown-body issue 2016-10-18 12:14:17 +08:00
Wu Cheng-Han e311a1f620 Fix code block which in deeper level will not be parsed issue 2016-10-18 00:14:50 +08:00
Wu Cheng-Han 70a52e2eae Remove auto linkify image since it might print out unwanted url and it can be achieved by reference syntax, issue #214 2016-10-17 18:03:26 +08:00
Wu Cheng-Han fe912f73ec Fix code block highlighting html not escaped when no languages specified 2016-10-17 17:54:58 +08:00
Wu Cheng-Han 211d25253e Update to support wrap syntax for code block 2016-10-14 17:35:35 +08:00
Yukai Huang b5f42807b9 Fix ownership display 2016-10-13 23:29:25 +08:00
Yukai Huang ae3e1b972b Fix spellcheck
* also fix spaces width
2016-10-13 16:41:20 +08:00
Yukai Huang 747502e694 Fix HTML exporting 2016-10-13 16:35:43 +08:00
Yukai Huang f4f2497d23 Expose parseMeta function 2016-10-13 15:59:22 +08:00
Yukai Huang 440ad3506c Fix lastchangeui and moment timestamps 2016-10-13 15:13:03 +08:00
Yukai Huang 43c9f68b9a Refactor webpack module 2016-10-13 08:56:56 +08:00
Yukai Huang b90c26fe90 Config CDN for viz.js 2016-10-13 08:56:02 +08:00
Yukai Huang 895bf98b03 Load custom markdown-it-regex plugin with script-loader 2016-10-12 14:37:32 +08:00
Yukai Huang b73fcfc5c9 Revert 56c5378
viz.js still has problem with split chunk
2016-10-12 14:37:05 +08:00
Yukai Huang 4a6a69e7bc Fix module export 2016-10-11 21:22:05 +08:00
Yukai Huang 6e651c8108 Merge branch 'master' into webpack-frontend 2016-10-11 18:40:23 +08:00
Yukai Huang 4a6903c91b Revert customized markdown-it-mathjax plugin 2016-10-11 17:53:46 +08:00
Yukai Huang 56c5378939 Optimize viz.js async rendering through webpack chunk 2016-10-11 17:15:06 +08:00
Yukai Huang 06437ccaa9 Manage more packages with npm and webpack 2016-10-11 14:52:45 +08:00
Wu Cheng-Han 1d1eedce7e Improve syntax highlighting performance by moving it to finish view 2016-10-10 20:45:49 +08:00
Wu Cheng-Han 3175616573 Update to support showing owner on the infobar 2016-10-10 20:32:20 +08:00
Yukai Huang e10203b7e9 More function expose workaround for reveal-markdown.js 2016-10-10 08:24:58 +08:00
Yukai Huang 28858288fb Fix more js errors 2016-10-09 17:55:07 +08:00
Yukai Huang 196d546f7e Fix pdfobject require 2016-10-09 10:51:39 +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 23008bc1e1 Update to support wiki markup syntax highlighting in view using prism 2016-09-18 16:42:27 +08:00
Wu Cheng-Han b708a72873 Fix the element selector in smoothHashScroll might contain special characters and cause the Syntax error 2016-09-18 16:28:07 +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 e08152ed03 Update toc styles to make toc menu always accessible without scrolling 2016-08-14 11:24:04 +08:00
Wu Cheng-Han b6aa045997 Update to add expand and collapse toggle for TOC, keep showing second level TOC if there is only one first level TOC 2016-08-02 10:54:03 +08:00
Wu Cheng-Han e8f59c1df8 Update to add viewAjaxCallback on every parts that use ajax loading 2016-07-02 16:16:22 +08:00
Wu Cheng-Han 160b51d16a Update to prevent mermaid start on load 2016-07-02 16:03:00 +08:00
Cheng-Han, Wu 6577313925 Remove metadata spellcheck support 2016-06-21 21:44:26 +08:00
Cheng-Han, Wu 3424cdd771 Add support of embed pdf 2016-06-21 21:44:06 +08:00
Cheng-Han, Wu 558304ff62 Update to support new metadata: title, description, tags and google-analytics (GA) and refactor render publish slide response function 2016-06-21 21:42:03 +08:00
Cheng-Han, Wu ad6982e77e Remove robot meta on note edit page and html template, add prevent crawling header to enhance note privacy 2016-06-21 21:37:56 +08:00
Cheng-Han, Wu 71f61b7f84 Update all client dependencies and cdn versions, workaround sequence-diagram svg to be resizable 2016-06-17 16:27:37 +08:00
Cheng-Han, Wu cb1e00d1d1 Add support of exporting raw html 2016-06-17 16:17:37 +08:00
Cheng-Han, Wu 56b4739e6d Add back missing support of image size in 0.4.2 2016-06-17 16:04:58 +08:00
Cheng-Han, Wu 20fbc9957f Update project title 2016-05-28 01:51:45 +08:00
Cheng-Han, Wu 5bb4423309 Fix to handle if last change user profile photo is null 2016-05-16 13:54:00 +08:00
Cheng-Han, Wu b40bf3aef7 Update to support octicon and change header anchor styles 2016-04-20 18:22:18 +08:00
Cheng-Han, Wu 0fb70a1487 Support experimental spell checking feature (en-US only), can be enabled by the YAML meta option 2016-04-20 18:09:36 +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 85078fd328 Fixed minor bugs 2016-03-16 12:46:29 +08:00
Cheng-Han, Wu e729166c32 Updated to support container syntax and styles 2016-03-15 10:56:53 +08:00
Cheng-Han, Wu 526f5c7e2e Improved update last info methods, only change DOM when necessary 2016-03-15 10:45:02 +08:00
Cheng-Han, Wu b49d4e2261 Support mermaid in code block diagram and updated all diagram rendering method and styles 2016-03-04 23:26:27 +08:00
Cheng-Han, Wu ee5eddaff4 Changed all parsing exception console message type to warning 2016-03-04 23:19:49 +08:00
Cheng-Han, Wu 1c859248e0 Updated to ignore process image which already wrapped by link node 2016-03-04 23:09:50 +08:00
Cheng-Han, Wu fae3c02bb2 Fixed mathjax queue might parse whole page if pass an empty or single item array 2016-02-24 10:57:33 +08:00
Cheng-Han, Wu daf4c9dcae Fixed mathjax might parse not specified elements and now pass array of elements 2016-02-24 10:35:52 +08:00
Cheng-Han, Wu 1da0b87714 Updated and fixed mathjax parsing, now using full featured plugin 2016-02-24 10:03:35 +08:00
Cheng-Han, Wu 2dc2fbe162 Change markdown engine from remarkable to markdown-it 2016-02-22 08:58:06 +08:00
Cheng-Han, Wu 229740e478 Support mathjax option in YAML metadata 2016-02-21 11:36:44 +08:00
Cheng-Han, Wu b2b1be3dda Support set url path and use relative url, move raphael to bower and fixed minor issue in history 2016-02-16 20:08:44 -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
Cheng-Han, Wu 3c2a2a348b Fixed emojify should exclude parsing svg and catch its exception 2016-01-31 15:29:20 -06:00
Cheng-Han, Wu ba4a7b13b3 Fixed a expression bug in postProcess 2016-01-31 15:28:52 -06:00
Wu Cheng-Han bdc064fb79 Revert overwrite hardbreak rule because built-in rule is correct 2016-01-17 11:53:34 -06:00
Wu Cheng-Han 5c0a36f4d9 Updated external media layouts, too keep its ratio and enlarge to 100% width 2016-01-17 09:55:12 -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 1672df3dce Added support of graphviz 2016-01-12 07:56:29 -06:00
Wu Cheng-Han 48de9a02a3 Fixed sequence diagram might render multiple times 2015-12-24 01:01:02 -06:00
Wu Cheng-Han 48d5889a30 Added support of slideshare and speakerdeck syntax and autocomplete 2015-12-22 17:51:07 -06:00
Wu Cheng-Han 2ad54c516a Fixed mathjax parser might not render properly 2015-12-22 12:09:34 -06:00
Wu Cheng-Han 9eb23603f4 Added support of toc syntax 2015-12-20 11:28:54 -06:00
Wu Cheng-Han 4b93d868b0 Fixed internal href should not link out 2015-12-06 11:25:05 -06:00
Wu Cheng-Han f23369ea9f Support specify or continue line number in code blocks 2015-10-22 17:15:44 +08:00
Wu Cheng-Han 5ed395122d Support specify code block start line number 2015-10-07 23:04:31 +08:00
Wu Cheng-Han 5f82df7eb2 Added support of export to HTML, and changed the navbar menu for consistency 2015-09-25 19:09:43 +08:00
Wu Cheng-Han 60414febee Changed code block line number gutter rendering method for performance and gain better accessibility 2015-09-25 19:06:27 +08:00
Wu Cheng-Han bb8a0da71f Added support of print and unselectable styles, updated vimeo and youtube parsing method for this 2015-09-25 18:55:56 +08:00
Wu Cheng-Han bb13a98c13 Updated postProcess, link should open in new window or tab 2015-09-25 18:18:21 +08:00
Wu Cheng-Han 36451ddbe9 Moving markdown parser function from syncscroll.js to extra.js 2015-09-25 18:12:56 +08:00
Wu Cheng-Han 4e358cd6f4 Added back missing list item custom parsing 2015-09-25 18:10:36 +08:00
Wu Cheng-Han 01217c9f4a Added extraTags support for list, and can toggle todo list in the view mode 2015-09-25 17:41:15 +08:00
Wu Cheng-Han bc31e9fe3b Added deduplicatedHeaderId to avoid multiple same header id 2015-09-25 14:27:23 +08:00
Wu Cheng-Han 44cd5d4b56 Fixed for code consistency 2015-09-25 14:22:45 +08:00
Wu Cheng-Han f8ef5341c7 Optimized image rendering, avoid duplicated image load when content changed 2015-07-02 20:29:31 +08:00
Wu Cheng-Han 10c9811fc5 Jump to 0.3.1 2015-07-02 00:10:20 +08:00
Wu Cheng-Han f7f8c901f4 Marked as 0.2.9 2015-06-01 18:04:25 +08:00
Wu Cheng-Han 4e64583a0b Marked as 0.2.8 2015-05-15 12:58:13 +08:00
Wu Cheng-Han 4b0ca55eb7 First commit, version 0.2.7 2015-05-04 15:53:29 +08:00