Commit graph

605 commits

Author SHA1 Message Date
Wu Cheng-Han 80ee507951 Fix mathjax with blockquote might have race condition 2016-11-18 12:19:05 +08:00
Wu Cheng-Han 09e6596074 Update to support haskell syntax highlighting in code block 2016-11-18 12:17:37 +08:00
Peter Dave Hello f8eb8fc9d8 Remove uesless executable permission for static files 2016-11-14 21:13:02 +08:00
Yukai Huang 81b368c11c upload image to public/uploads 2016-11-14 16:45:57 +08:00
Wu Cheng-Han c5de552988 Fix index social foot style 2016-11-07 21:31:21 +08:00
Wu Cheng-Han 793aef0e2e Fix syntax highlighting not apply correctly in slides 2016-11-07 21:27:58 +08:00
Max Wu 8c5a5a0712 Merge pull request #243 from Yukaii/google-font-optional-cdn
Google font optional cdn
2016-11-04 13:08:59 +08:00
Wu Cheng-Han 2167570c11 Fix slide highlighting styles not apply properly and add missing styles dependency of prism in html export 2016-11-04 13:04:00 +08:00
Yukai Huang 0bc90258bf Add google font css for exported html 2016-11-03 14:54:24 +08:00
Yukai Huang 0b45312834 Add font css to templates 2016-11-03 14:51:28 +08:00
Yukai Huang d4429aa42d Rename google font css 2016-11-03 14:51:04 +08:00
Wu Cheng-Han ee96d88e81 Remove html.min.css since it will be built via webpack afterwards 2016-11-03 14:43:53 +08:00
Yukai Huang 0ef34ee9f1 Seperate cdn/local google font css 2016-11-03 14:20:35 +08:00
Yukai Huang 18011f06de Add fonts 2016-11-03 14:20:35 +08:00
Max Wu 11faadb684 Merge pull request #242 from Yukaii/webpack-stylesheet
Use webpack to bundle stylesheet
2016-11-03 14:17:10 +08:00
Wu Cheng-Han 734d475c0e Fix server reconnect might not resend pending operations 2016-11-03 14:04:53 +08:00
Yukai Huang f1f8846b0a Config extra entry for html.min.css 2016-11-02 18:01:26 +08:00
Yukai Huang 3e23009663 Require slide mode stylesheets 2016-11-02 11:59:45 +08:00
Yukai Huang 58fedb01fa Require pretty stylesheets 2016-11-02 11:55:08 +08:00
Yukai Huang 55ddddd84b Require cover stylesheets 2016-11-02 11:26:25 +08:00
Yukai Huang 7a052b0dad Require index stylesheets 2016-11-02 11:26:06 +08:00
Wu Cheng-Han 25fa503981 Fix viewAjaxCallback might be called on null 2016-11-01 15:04:48 +08:00
Wu Cheng-Han ba2bfa2188 Update to support summary tag 2016-10-29 23:43:58 +08:00
Wu Cheng-Han 70d2fa388e Fix slide export pdf styles not applied issue and add shiv and shim for IE 2016-10-29 23:35:10 +08:00
Wu Cheng-Han a8bce53c47 Fix viewAjaxCallback not able to be assigned 2016-10-29 23:33:58 +08:00
Wu Cheng-Han 3d6baa47ac Fix to hide duplicated MathML elements in static HTML exporting 2016-10-29 23:33:48 +08:00
Wu Cheng-Han a563a15bab Fix generateCleanHTML not remove smoothhashscroll attribute properly 2016-10-29 23:33:16 +08:00
Wu Cheng-Han dae141a9d3 Fix possible unclose HTML and leaked html tags when fail to parse diagrams 2016-10-26 01:30:17 +08:00
Wu Cheng-Han b6ce7a6ab1 Update mathjax cdn path and source path 2016-10-25 01:57:51 +08:00
Wu Cheng-Han 15ca8cde2c Fix typos in the slide-example.md 2016-10-25 01:56:19 +08:00
Wu Cheng-Han 9e04f85229 Fix index select2 input padding and font-family to meet bootstrap input style 2016-10-25 01:56:06 +08:00
Wu Cheng-Han f35a4167ec Fix conflicting bootstrap in index and add select2 in non-cdn resource 2016-10-23 23:39:42 +08:00
Wu Cheng-Han 0b9c177058 Update to move select2 dependency to bower and add its cdn sources 2016-10-23 23:00:42 +08:00
Wu Cheng-Han e6dfc749f6 Fix config.js use cdn option not parse properly and add missing cdn resources 2016-10-23 22:42:47 +08:00
Wu Cheng-Han 0aa306685d Fix some typo of PR #230 2016-10-23 21:58:53 +08:00
Max Wu 7b85eb48cd Merge pull request #230 from PeterDaveHello/cdnjs+https+sri
Use CDNJS by default with https and SRI support
2016-10-23 21:47:11 +08:00
Wu Cheng-Han a42845cfc0 Update to retry when anytime the socket io disconnect 2016-10-23 21:43:18 +08:00
Wu Cheng-Han 3db1214ecf Fix socket io doc event should setDoc when revision mismatch and no outstanding operation 2016-10-23 20:17:33 +08:00
Wu Cheng-Han 5ad7d61499 Fix passing markdown-it-emoji incorrect parameter type 2016-10-23 16:46:34 +08:00
Max Wu 5236e568e7 Merge pull request #229 from PeterDaveHello/patch-1
Update locale.js
2016-10-23 16:31:47 +08:00
Wu Cheng-Han 67786a8aab Fix code block syntax highlighting might not process properly because the HTML is escaped 2016-10-23 16:30:09 +08:00
Peter Dave Hello 58b2cff4ec Use CDNJS by default with https and SRI support 2016-10-23 13:31:25 +08:00
Peter Dave Hello b039913506 Update locale.js
Should change the lang been selected in the lang select/option menu.
2016-10-23 11:38:17 +08:00
Wu Cheng-Han 27bc94744d Fix index.js isValidURL is not defined error 2016-10-22 15:48:28 +08:00
Wu Cheng-Han d4bb87b8ec Fix ReferenceError of scollToTop and scollToBottom in index.js 2016-10-22 15:42:56 +08:00
Wu Cheng-Han 1b36cefd4b Update html.min.css for export html template 2016-10-21 23:40:33 +08:00
Wu Cheng-Han 250b462249 Fix markdown styles conflicting bootstrap on p and ul under alert area 2016-10-21 18:15:28 +08:00
Wu Cheng-Han 215b5baa9f Update to support Swedish locale 2016-10-21 13:39:28 +08:00
Wu Cheng-Han 894a7fc8e5 Fix gapi not able to reference callback function onGoogleClientLoaded 2016-10-20 12:22:59 +08:00
Wu Cheng-Han 7ebc84bec0 Try to remove unused front-end dependency 2016-10-19 22:14:32 +08:00
Wu Cheng-Han d70d0318e5 Fix to use bower version emojify.js 2016-10-19 22:12:12 +08:00
Wu Cheng-Han 5640de8c77 Update to make history not depends on extra 2016-10-19 22:10:33 +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
Wu Cheng-Han f346e179ed Fix index social-foot styles 2016-10-19 22:08:27 +08:00
Wu Cheng-Han 7d79e7762f Merge branch 'master' of https://github.com/jackycute/HackMD 2016-10-18 16:53:44 +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
Yukai Huang d9f55e4984 Add missing tooltip script 2016-10-18 12:57:20 +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 e097622098 Change to raise socket io reconnection attempts and make editor only available after refresh event received 2016-10-17 18:11:28 +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 a181b3d11f Fix index style 2016-10-15 14:01:05 +08:00
Wu Cheng-Han dbd7449740 Update to support Hindi locale 2016-10-14 22:52:54 +08:00
Wu Cheng-Han 9995cbfd32 Fix export html highlight style source is missing and should load emojify styles from CDN 2016-10-14 17:41:30 +08:00
Wu Cheng-Han 912063bee4 Fix client socket on delete event might not delete corresponding history record correctly 2016-10-14 17:39:52 +08:00
Wu Cheng-Han 211d25253e Update to support wrap syntax for code block 2016-10-14 17:35:35 +08:00
Yukai Huang 4c1109b70b Move gist-embed to CDN 2016-10-14 09:56:19 +08:00
Yukai Huang 3d1bc8a8cb Move list-pagination plugin to CDN 2016-10-14 09:25:45 +08:00
Yukai Huang 142b4c6771 Move highlight.js to CDN 2016-10-14 09:21:41 +08:00
Wu Cheng-Han ef5524be91 Fix sync scroll not handle properly on area resize 2016-10-14 00:25:08 +08:00
Yukai Huang e4515958cd Fix require ordering 2016-10-14 00:02:55 +08:00
Yukai Huang b5f42807b9 Fix ownership display 2016-10-13 23:29:25 +08:00
Yukai Huang 2f05e445cc Remove uneccesasry serverurl exporting 2016-10-13 19:15:51 +08:00
Yukai Huang 47b113d9fe Add handlebars script tag 2016-10-13 16:45:52 +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 d600364933 Fix history deletion 2016-10-13 16:25:38 +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 bcb12b9ae7 Remove jquery-scrollspy dependency
scrollspy is bootstrap built-in plugin
2016-10-13 15:30:26 +08:00
Yukai Huang 440ad3506c Fix lastchangeui and moment timestamps 2016-10-13 15:13:03 +08:00
Yukai Huang 4713b4f2aa Fix syncscroll 2016-10-13 14:03:02 +08:00
Yukai Huang 83be3465cc Fix scrollspy 2016-10-13 13:59:34 +08:00
Yukai Huang 773c0ce39e Optimize common assets with CDN
* jquery
* lodash
* socket.io
* boostrap
2016-10-13 11:42:17 +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 2f11706dd2 Merge branch 'master' into webpack-frontend 2016-10-12 18:19:08 +08:00
Yukai Huang d5d9607c17 Fix stylesheet ordering 2016-10-12 18:14:39 +08:00
Wu Cheng-Han f3d4b55856 Fix getCaretPosition in text complete might get undefined position error 2016-10-12 17:50:01 +08:00
Wu Cheng-Han 12b7646f24 Fix to handle name or color might get undefined error 2016-10-12 17:48:28 +08:00
Yukai Huang 6b6b534866 Merge branch 'master' into webpack-frontend 2016-10-12 17:39:38 +08:00
Yukai Huang 0bf3c63622 Remove slide.ejs style tag 2016-10-12 17:37:21 +08:00
Yukai Huang 2cafe15e85 Enable production assets hash 2016-10-12 17:15:59 +08:00
Yukai Huang 91266f1cad Load more scripts using webpack 2016-10-12 17:03:47 +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 02eef3f68a Load customized vendor script through script-loader 2016-10-12 13:18:29 +08:00
Wu Cheng-Han f5d471106c Fix history list not parse and bind events properly on change pagination 2016-10-12 13:14:46 +08:00