From 3c41c2ec1bedaa073a6d727ae0ebd93e7676bae2 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 25 May 2014 19:40:09 +0100 Subject: [PATCH] 3.99.8 beta release --- bower.json | 2 +- package.json | 2 +- public/cache.manifest | 2 +- public/res-min/main.js | 30 +++++++++++------------------- public/res-min/themes/base.css | 2 +- public/res-min/themes/default.css | 16 ++-------------- public/res-min/themes/gray.css | 16 ++-------------- public/res-min/themes/night.css | 16 ++-------------- public/res-min/themes/original.css | 16 ++-------------- public/res-min/themes/school.css | 16 ++-------------- public/res/constants.js | 2 +- 11 files changed, 26 insertions(+), 94 deletions(-) diff --git a/bower.json b/bower.json index b6c7848e..f5cc6ea2 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "stackedit", - "version": "3.99.7", + "version": "3.99.8", "description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.", "dependencies": { "bootstrap": "3.0.3", diff --git a/package.json b/package.json index 57cae5e0..3d0adc4b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stackedit", - "version": "3.99.7", + "version": "3.99.8", "private": true, "description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.", "main": "res/main.js", diff --git a/public/cache.manifest b/public/cache.manifest index 5613685a..c851ff87 100644 --- a/public/cache.manifest +++ b/public/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -#Date Fri May 23 2014 23:59:26 +#Date Sun May 25 2014 19:39:50 CACHE: libs/MathJax/MathJax.js?config=TeX-AMS_HTML diff --git a/public/res-min/main.js b/public/res-min/main.js index 79e53d5e..2e6ddaf3 100644 --- a/public/res-min/main.js +++ b/public/res-min/main.js @@ -7958,7 +7958,7 @@ var saveAs = saveAs || "undefined" != typeof navigator && navigator.msSaveOrOpen }, utils }), define("constants", [], function() { var e = {}; - return e.VERSION = "3.99.7", e.MAIN_URL = "https://stackedit.io/", e.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1", e.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw", e.GOOGLE_DRIVE_APP_ID = "241271498917", e.DROPBOX_APP_KEY = "lq6mwopab8wskas", e.DROPBOX_APP_SECRET = "851fgnucpezy84t", e.DROPBOX_RESTRICTED_APP_KEY = "sw0hlixhr8q1xk0", e.DROPBOX_RESTRICTED_APP_SECRET = "1r808p2xygs6lbg", e.BITLY_ACCESS_TOKEN = "317e033bfd48cf31155a68a536b1860013b09c4c", e.DEFAULT_FILE_TITLE = "Title", e.DEFAULT_FOLDER_NAME = "New folder", e.GDRIVE_DEFAULT_FILE_TITLE = "New Markdown document", e.EDITOR_DEFAULT_PADDING = 35, e.CHECK_ONLINE_PERIOD = 12e4, e.AJAX_TIMEOUT = 3e4, e.ASYNC_TASK_DEFAULT_TIMEOUT = 6e4, e.ASYNC_TASK_LONG_TIMEOUT = 18e4, e.USER_IDLE_THRESHOLD = 3e5, e.IMPORT_FILE_MAX_CONTENT_SIZE = 1e5, e.IMPORT_IMG_MAX_CONTENT_SIZE = 1e7, e.TEMPORARY_FILE_INDEX = "file.tempIndex", e.WELCOME_DOCUMENT_TITLE = "Welcome document", e.DOWNLOAD_PROXY_URL = "https://stackedit-download-proxy.herokuapp.com/", e.PICASA_PROXY_URL = "https://stackedit-picasa-proxy.herokuapp.com/", e.SSH_PROXY_URL = "https://stackedit-ssh-proxy.herokuapp.com/", e.HTMLTOPDF_URL = "https://stackedit-htmltopdf.herokuapp.com/", e.BASE_URL = "http://localhost/", e.GOOGLE_CLIENT_ID = "241271498917-lev37kef013q85avc91am1gccg5g8lrb.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e47fef6055344579799d", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-localhost.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-local.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "23361", e.WORDPRESS_PROXY_URL = "https://stackedit-io-wordpress-proxy.herokuapp.com/", 0 === location.hostname.indexOf("stackedit.io") ? (e.BASE_URL = e.MAIN_URL, e.GOOGLE_CLIENT_ID = "241271498917-t4t7d07qis7oc0ahaskbif3ft6tk63cd.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "710fc67886ab1ae8fee6", e.GATEKEEPER_URL = "https://stackedit-io-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-io-tumblr-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.github.io") ? (e.BASE_URL = "http://benweet.github.io/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "fa0d09514da8377ee32e", e.GATEKEEPER_URL = "https://stackedit-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "3185", e.WORDPRESS_PROXY_URL = "https://stackedit-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("stackedit-beta.herokuapp.com") ? (e.BASE_URL = "https://stackedit-beta.herokuapp.com/", e.GOOGLE_CLIENT_ID = "241271498917-9bbplknkt0ljv5gaudhoiogp13hd18be.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e9034ae191c3a8a1c5ed", e.GATEKEEPER_URL = "https://stackedit-beta-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-beta-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "34786", e.WORDPRESS_PROXY_URL = "https://stackedit-beta-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.insomnia247.nl") && (e.BASE_URL = "http://benweet.insomnia247.nl/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-52hae7a08hv7ltenv7km8h7lghno9sk3.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "d2943d6074b2d9c4a830", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-insomnia.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-beta.herokuapp.com/"), e.THEME_LIST = { + return e.VERSION = "3.99.8", e.MAIN_URL = "https://stackedit.io/", e.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1", e.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw", e.GOOGLE_DRIVE_APP_ID = "241271498917", e.DROPBOX_APP_KEY = "lq6mwopab8wskas", e.DROPBOX_APP_SECRET = "851fgnucpezy84t", e.DROPBOX_RESTRICTED_APP_KEY = "sw0hlixhr8q1xk0", e.DROPBOX_RESTRICTED_APP_SECRET = "1r808p2xygs6lbg", e.BITLY_ACCESS_TOKEN = "317e033bfd48cf31155a68a536b1860013b09c4c", e.DEFAULT_FILE_TITLE = "Title", e.DEFAULT_FOLDER_NAME = "New folder", e.GDRIVE_DEFAULT_FILE_TITLE = "New Markdown document", e.EDITOR_DEFAULT_PADDING = 35, e.CHECK_ONLINE_PERIOD = 12e4, e.AJAX_TIMEOUT = 3e4, e.ASYNC_TASK_DEFAULT_TIMEOUT = 6e4, e.ASYNC_TASK_LONG_TIMEOUT = 18e4, e.USER_IDLE_THRESHOLD = 3e5, e.IMPORT_FILE_MAX_CONTENT_SIZE = 1e5, e.IMPORT_IMG_MAX_CONTENT_SIZE = 1e7, e.TEMPORARY_FILE_INDEX = "file.tempIndex", e.WELCOME_DOCUMENT_TITLE = "Welcome document", e.DOWNLOAD_PROXY_URL = "https://stackedit-download-proxy.herokuapp.com/", e.PICASA_PROXY_URL = "https://stackedit-picasa-proxy.herokuapp.com/", e.SSH_PROXY_URL = "https://stackedit-ssh-proxy.herokuapp.com/", e.HTMLTOPDF_URL = "https://stackedit-htmltopdf.herokuapp.com/", e.BASE_URL = "http://localhost/", e.GOOGLE_CLIENT_ID = "241271498917-lev37kef013q85avc91am1gccg5g8lrb.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e47fef6055344579799d", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-localhost.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-local.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "23361", e.WORDPRESS_PROXY_URL = "https://stackedit-io-wordpress-proxy.herokuapp.com/", 0 === location.hostname.indexOf("stackedit.io") ? (e.BASE_URL = e.MAIN_URL, e.GOOGLE_CLIENT_ID = "241271498917-t4t7d07qis7oc0ahaskbif3ft6tk63cd.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "710fc67886ab1ae8fee6", e.GATEKEEPER_URL = "https://stackedit-io-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-io-tumblr-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.github.io") ? (e.BASE_URL = "http://benweet.github.io/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "fa0d09514da8377ee32e", e.GATEKEEPER_URL = "https://stackedit-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "3185", e.WORDPRESS_PROXY_URL = "https://stackedit-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("stackedit-beta.herokuapp.com") ? (e.BASE_URL = "https://stackedit-beta.herokuapp.com/", e.GOOGLE_CLIENT_ID = "241271498917-9bbplknkt0ljv5gaudhoiogp13hd18be.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e9034ae191c3a8a1c5ed", e.GATEKEEPER_URL = "https://stackedit-beta-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-beta-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "34786", e.WORDPRESS_PROXY_URL = "https://stackedit-beta-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.insomnia247.nl") && (e.BASE_URL = "http://benweet.insomnia247.nl/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-52hae7a08hv7ltenv7km8h7lghno9sk3.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "d2943d6074b2d9c4a830", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-insomnia.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-beta.herokuapp.com/"), e.THEME_LIST = { "default": "Default", gray: "Gray", night: "Night", @@ -14028,7 +14028,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor if(l.config.intraword === !0) { var r = { _DoItalicsAndBold: function(e) { - return e = e.replace(/([^\w*]|^)(\*\*|__)(?=\S)(.+?[*_]*)(?=\S)\2(?=[^\w*]|$)/g, "$1$3"), e = e.replace(/([^\w*]|^)(\*|_)(?=\S)(.+?)(?=\S)\2(?=[^\w*]|$)/g, "$1$3") + return e = e.replace(/([^\w*]|^)(\*\*|__)(?=\S)(.+?[*_]*)(?=\S)\2(?=[^\w*]|$)/g, "$1$3"), e = e.replace(/([^\w*]|^)(\*|_)(?=\S)(.+?)(?=\S)\2(?=[^\w*]|$)/g, "$1$3"), e = e.replace(/([^\w*]|^)(\*\*|__)(?=\S)(.+?[*_]*)(?=\S)\2(?=[^\w*]|$)/g, "$1$3") } }; n.setOptions(r) @@ -23111,17 +23111,7 @@ function(e) { }, i.li = { pattern: /^[ \t]*([*+\-]|\d+\.)[ \t].+$/gm, inside: { - "md md-li": /^ ?([*+\-]|\d+\.)[ \t]/m, - "md md-li2": /^ ?(?: {2}|\t{1})([*+\-]|\d+\.)[ \t]/m, - "md md-li3": /^ ?(?: {4}|\t{2})([*+\-]|\d+\.)[ \t]/m, - "md md-li4": /^ ?(?: {6}|\t{3})([*+\-]|\d+\.)[ \t]/m, - "md md-li5": /^ ?(?: {8}|\t{4})([*+\-]|\d+\.)[ \t]/m, - "md md-li6": /^ ?(?: {10}|\t{5})([*+\-]|\d+\.)[ \t]/m, - "md md-li7": /^ ?(?: {12}|\t{6})([*+\-]|\d+\.)[ \t]/m, - "md md-li8": /^ ?(?: {14}|\t{7})([*+\-]|\d+\.)[ \t]/m, - "md md-li9": /^ ?(?: {16}|\t{8})([*+\-]|\d+\.)[ \t]/m, - "md md-li10": /^ ?(?: {18}|\t{9})([*+\-]|\d+\.)[ \t]/m, - "md md-li11": /^ ?(?: {20}|\t{10})([*+\-]|\d+\.)[ \t]/m + "md md-li": /^[ \t]*([*+\-]|\d+\.)[ \t]/m } }; for(var r = 6; r >= 1; r--) i["h" + r] = { @@ -23757,8 +23747,9 @@ function(e) { after: n.slice(r), selection: n.slice(i, r) }; - a[e](o, t), h(o.before + o.selection + o.after), H.setSelectionStartEnd(o.selectionStart, o.selectionEnd), H.updateSelectionRange() - }, a = { + s[e](o, t), h(o.before + o.selection + o.after), H.setSelectionStartEnd(o.selectionStart, o.selectionEnd), H.updateSelectionRange() + }, a = /^ {0,3}>[ ]*|^[ \t]*(?:[*+\-]|(\d+)\.)[ \t]|^\s+/, + s = { indent: function(e, t) { function n(e, t, n, i) { return n = +n || 0, i = i || "", e.slice(0, t) + i + e.slice(t + n) @@ -23766,7 +23757,8 @@ function(e) { var i = e.before.lastIndexOf("\n") + 1; if(t.inverse) /\s/.test(e.before.charAt(i)) && (e.before = n(e.before, i, 1), e.selectionStart--, e.selectionEnd--), e.selection = e.selection.replace(/^[ \t]/gm, ""); else { - if(!e.selection) return e.before += " ", e.selectionStart++, void e.selectionEnd++; + var r = e.before.slice(i); + if(!e.selection && !r.match(a)) return e.before += " ", e.selectionStart++, void e.selectionEnd++; e.before = n(e.before, i, 0, " "), e.selection = e.selection.replace(/\r?\n(?=[\s\S])/g, "\n "), e.selectionStart++, e.selectionEnd++ } e.selectionEnd = e.selectionStart + e.selection.length @@ -23776,11 +23768,11 @@ function(e) { if(r) return e.before = e.before.substring(0, t), e.selection = "", e.selectionStart = t, e.selectionEnd = t, void(r = !1); r = !1; var n = e.before.slice(t), - i = n.match(/^ {0,3}>[ ]*|^[ \t]*(?:[*+\-]|(\d+)\.)[ \t]|^\s+/), + i = n.match(a), o = (i || [""])[0]; if(i && i[1]) { - var a = parseInt(i[1], 10); - o = o.replace(/\d+/, a + 1) + var s = parseInt(i[1], 10); + o = o.replace(/\d+/, s + 1) } o.length && (r = !0), z.currentMode = "newlines", e.before += "\n" + o, e.selection = "", e.selectionStart += o.length + 1, e.selectionEnd = e.selectionStart } diff --git a/public/res-min/themes/base.css b/public/res-min/themes/base.css index f9ac75c9..169c40f2 100644 --- a/public/res-min/themes/base.css +++ b/public/res-min/themes/base.css @@ -1221,7 +1221,7 @@ h3{font-size:1.7em} h4{font-size:1.25em} h5{font-size:1em} h6{font-size:.85em} -h1,h2,h3,h4,h5,h6{margin:1.3em 0} +h1,h2,h3,h4,h5,h6{margin:1.3em 0;text-align:start} pre{word-break:break-word} p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em} hr{margin:2em 0} diff --git a/public/res-min/themes/default.css b/public/res-min/themes/default.css index 09679dbc..2b03dd8f 100644 --- a/public/res-min/themes/default.css +++ b/public/res-min/themes/default.css @@ -1236,7 +1236,7 @@ h3{font-size:1.7em} h4{font-size:1.25em} h5{font-size:1em} h6{font-size:.85em} -h1,h2,h3,h4,h5,h6{margin:1.3em 0} +h1,h2,h3,h4,h5,h6{margin:1.3em 0;text-align:start} pre{word-break:break-word} p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em} hr{margin:2em 0} @@ -1449,7 +1449,7 @@ a.list-group-item:hover,a.list-group-item:focus{color:#036;border-top-color:rgba #wmd-input .code,#wmd-input .img,#wmd-input .imgref,#wmd-input .md-toc{background-color:rgba(102,128,153,0.075);border-radius:4px;padding:0.15em 0} #wmd-input .md-toc{font-size:2.5em;padding:0.2em} #wmd-input .link .md-underlined-text,#wmd-input .linkref .md-underlined-text{color:inherit} -#wmd-input .blockquote{color:#668099;padding-left:2em}#wmd-input .blockquote .li{padding-left:0} +#wmd-input .blockquote{color:#668099} #wmd-input .h1,#wmd-input .h2,#wmd-input .h3,#wmd-input .h4,#wmd-input .h5,#wmd-input .h6{font-weight:600}#wmd-input .h1 .md-hash,#wmd-input .h2 .md-hash,#wmd-input .h3 .md-hash,#wmd-input .h4 .md-hash,#wmd-input .h5 .md-hash,#wmd-input .h6 .md-hash{color:rgba(102,128,153,0.4)} #wmd-input .h1,#wmd-input .h11{font-size:1.4em} #wmd-input .h2,#wmd-input .h22{font-size:1.3em} @@ -1463,18 +1463,6 @@ a.list-group-item:hover,a.list-group-item:focus{color:#036;border-top-color:rgba #wmd-input .strong,#wmd-input .strong .md{font-weight:bold} #wmd-input .md-strike-text{text-decoration:line-through} #wmd-input .md-underlined-text{text-decoration:underline} -#wmd-input .li{padding-left:0.8em}#wmd-input .li .li{padding-left:0} -#wmd-input .md-li{padding-left:1.2em} -#wmd-input .md-li2{padding-left:2.4em} -#wmd-input .md-li3{padding-left:3.6em} -#wmd-input .md-li4{padding-left:4.8em} -#wmd-input .md-li5{padding-left:6em} -#wmd-input .md-li6{padding-left:7.2em} -#wmd-input .md-li7{padding-left:8.4em} -#wmd-input .md-li8{padding-left:9.6em} -#wmd-input .md-li9{padding-left:10.8em} -#wmd-input .md-li10{padding-left:12em} -#wmd-input .md-li11{padding-left:13.2em} #wmd-input .img,#wmd-input .imgref{padding:0.2em 0.4em;padding-right:0} #wmd-input .md-bang,#wmd-input .md-alt,#wmd-input .md-title{color:#587ea4} .preview-panel{position:absolute;top:0;left:0;overflow:hidden;-webkit-box-shadow:inset 1px 0 rgba(0,128,255,0.06);box-shadow:inset 1px 0 rgba(0,128,255,0.06);background-color:#f6f7f9;z-index:10}.layout-animate .preview-panel{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all} diff --git a/public/res-min/themes/gray.css b/public/res-min/themes/gray.css index 80b728f8..b7622a90 100644 --- a/public/res-min/themes/gray.css +++ b/public/res-min/themes/gray.css @@ -1236,7 +1236,7 @@ h3{font-size:1.7em} h4{font-size:1.25em} h5{font-size:1em} h6{font-size:.85em} -h1,h2,h3,h4,h5,h6{margin:1.3em 0} +h1,h2,h3,h4,h5,h6{margin:1.3em 0;text-align:start} pre{word-break:break-word} p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em} hr{margin:2em 0} @@ -1449,7 +1449,7 @@ a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-top-color:r #wmd-input .code,#wmd-input .img,#wmd-input .imgref,#wmd-input .md-toc{background-color:rgba(128,128,128,0.075);border-radius:4px;padding:0.15em 0} #wmd-input .md-toc{font-size:2.5em;padding:0.2em} #wmd-input .link .md-underlined-text,#wmd-input .linkref .md-underlined-text{color:inherit} -#wmd-input .blockquote{color:#808080;padding-left:2em}#wmd-input .blockquote .li{padding-left:0} +#wmd-input .blockquote{color:#808080} #wmd-input .h1,#wmd-input .h2,#wmd-input .h3,#wmd-input .h4,#wmd-input .h5,#wmd-input .h6{font-weight:600}#wmd-input .h1 .md-hash,#wmd-input .h2 .md-hash,#wmd-input .h3 .md-hash,#wmd-input .h4 .md-hash,#wmd-input .h5 .md-hash,#wmd-input .h6 .md-hash{color:rgba(128,128,128,0.4)} #wmd-input .h1,#wmd-input .h11{font-size:1.4em} #wmd-input .h2,#wmd-input .h22{font-size:1.3em} @@ -1463,18 +1463,6 @@ a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-top-color:r #wmd-input .strong,#wmd-input .strong .md{font-weight:bold} #wmd-input .md-strike-text{text-decoration:line-through} #wmd-input .md-underlined-text{text-decoration:underline} -#wmd-input .li{padding-left:0.8em}#wmd-input .li .li{padding-left:0} -#wmd-input .md-li{padding-left:1.2em} -#wmd-input .md-li2{padding-left:2.4em} -#wmd-input .md-li3{padding-left:3.6em} -#wmd-input .md-li4{padding-left:4.8em} -#wmd-input .md-li5{padding-left:6em} -#wmd-input .md-li6{padding-left:7.2em} -#wmd-input .md-li7{padding-left:8.4em} -#wmd-input .md-li8{padding-left:9.6em} -#wmd-input .md-li9{padding-left:10.8em} -#wmd-input .md-li10{padding-left:12em} -#wmd-input .md-li11{padding-left:13.2em} #wmd-input .img,#wmd-input .imgref{padding:0.2em 0.4em;padding-right:0} #wmd-input .md-bang,#wmd-input .md-alt,#wmd-input .md-title{color:#7f7f7f} .preview-panel{position:absolute;top:0;left:0;overflow:hidden;-webkit-box-shadow:inset 1px 0 rgba(128,128,128,0.06);box-shadow:inset 1px 0 rgba(128,128,128,0.06);background-color:#f8f8f8;z-index:10}.layout-animate .preview-panel{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all} diff --git a/public/res-min/themes/night.css b/public/res-min/themes/night.css index 6ab122db..fb48e373 100644 --- a/public/res-min/themes/night.css +++ b/public/res-min/themes/night.css @@ -1236,7 +1236,7 @@ h3{font-size:1.7em} h4{font-size:1.25em} h5{font-size:1em} h6{font-size:.85em} -h1,h2,h3,h4,h5,h6{margin:1.3em 0} +h1,h2,h3,h4,h5,h6{margin:1.3em 0;text-align:start} pre{word-break:break-word} p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em} hr{margin:2em 0} @@ -1449,7 +1449,7 @@ a.list-group-item:hover,a.list-group-item:focus{color:#b3b3b3;border-top-color:r #wmd-input .code,#wmd-input .img,#wmd-input .imgref,#wmd-input .md-toc{background-color:rgba(255,255,255,0.1);border-radius:4px;padding:0.15em 0} #wmd-input .md-toc{font-size:2.5em;padding:0.2em} #wmd-input .link .md-underlined-text,#wmd-input .linkref .md-underlined-text{color:inherit} -#wmd-input .blockquote{color:#9f9f9f;padding-left:2em}#wmd-input .blockquote .li{padding-left:0} +#wmd-input .blockquote{color:#9f9f9f} #wmd-input .h1,#wmd-input .h2,#wmd-input .h3,#wmd-input .h4,#wmd-input .h5,#wmd-input .h6{font-weight:600}#wmd-input .h1 .md-hash,#wmd-input .h2 .md-hash,#wmd-input .h3 .md-hash,#wmd-input .h4 .md-hash,#wmd-input .h5 .md-hash,#wmd-input .h6 .md-hash{color:rgba(159,159,159,0.4)} #wmd-input .h1,#wmd-input .h11{font-size:1.4em} #wmd-input .h2,#wmd-input .h22{font-size:1.3em} @@ -1463,18 +1463,6 @@ a.list-group-item:hover,a.list-group-item:focus{color:#b3b3b3;border-top-color:r #wmd-input .strong,#wmd-input .strong .md{font-weight:bold} #wmd-input .md-strike-text{text-decoration:line-through} #wmd-input .md-underlined-text{text-decoration:underline} -#wmd-input .li{padding-left:0.8em}#wmd-input .li .li{padding-left:0} -#wmd-input .md-li{padding-left:1.2em} -#wmd-input .md-li2{padding-left:2.4em} -#wmd-input .md-li3{padding-left:3.6em} -#wmd-input .md-li4{padding-left:4.8em} -#wmd-input .md-li5{padding-left:6em} -#wmd-input .md-li6{padding-left:7.2em} -#wmd-input .md-li7{padding-left:8.4em} -#wmd-input .md-li8{padding-left:9.6em} -#wmd-input .md-li9{padding-left:10.8em} -#wmd-input .md-li10{padding-left:12em} -#wmd-input .md-li11{padding-left:13.2em} #wmd-input .img,#wmd-input .imgref{padding:0.2em 0.4em;padding-right:0} #wmd-input .md-bang,#wmd-input .md-alt,#wmd-input .md-title{color:#dfdfdf} .preview-panel{position:absolute;top:0;left:0;overflow:hidden;-webkit-box-shadow:inset 1px 0 rgba(255,255,255,0.06);box-shadow:inset 1px 0 rgba(255,255,255,0.06);background-color:#232323;z-index:10}.layout-animate .preview-panel{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all} diff --git a/public/res-min/themes/original.css b/public/res-min/themes/original.css index c9dee3cd..75fa4689 100644 --- a/public/res-min/themes/original.css +++ b/public/res-min/themes/original.css @@ -1236,7 +1236,7 @@ h3{font-size:1.7em} h4{font-size:1.25em} h5{font-size:1em} h6{font-size:.85em} -h1,h2,h3,h4,h5,h6{margin:1.3em 0} +h1,h2,h3,h4,h5,h6{margin:1.3em 0;text-align:start} pre{word-break:break-word} p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em} hr{margin:2em 0} @@ -1449,7 +1449,7 @@ a.list-group-item:hover,a.list-group-item:focus{color:#4e4e4e;border-top-color:r #wmd-input .code,#wmd-input .img,#wmd-input .imgref,#wmd-input .md-toc{background-color:rgba(154,154,154,0.075);border-radius:4px;padding:0.15em 0} #wmd-input .md-toc{font-size:2.5em;padding:0.2em} #wmd-input .link .md-underlined-text,#wmd-input .linkref .md-underlined-text{color:inherit} -#wmd-input .blockquote{color:#9a9a9a;padding-left:2em}#wmd-input .blockquote .li{padding-left:0} +#wmd-input .blockquote{color:#9a9a9a} #wmd-input .h1,#wmd-input .h2,#wmd-input .h3,#wmd-input .h4,#wmd-input .h5,#wmd-input .h6{font-weight:600}#wmd-input .h1 .md-hash,#wmd-input .h2 .md-hash,#wmd-input .h3 .md-hash,#wmd-input .h4 .md-hash,#wmd-input .h5 .md-hash,#wmd-input .h6 .md-hash{color:rgba(154,154,154,0.4)} #wmd-input .h1,#wmd-input .h11{font-size:1.4em} #wmd-input .h2,#wmd-input .h22{font-size:1.3em} @@ -1463,18 +1463,6 @@ a.list-group-item:hover,a.list-group-item:focus{color:#4e4e4e;border-top-color:r #wmd-input .strong,#wmd-input .strong .md{font-weight:bold} #wmd-input .md-strike-text{text-decoration:line-through} #wmd-input .md-underlined-text{text-decoration:underline} -#wmd-input .li{padding-left:0.8em}#wmd-input .li .li{padding-left:0} -#wmd-input .md-li{padding-left:1.2em} -#wmd-input .md-li2{padding-left:2.4em} -#wmd-input .md-li3{padding-left:3.6em} -#wmd-input .md-li4{padding-left:4.8em} -#wmd-input .md-li5{padding-left:6em} -#wmd-input .md-li6{padding-left:7.2em} -#wmd-input .md-li7{padding-left:8.4em} -#wmd-input .md-li8{padding-left:9.6em} -#wmd-input .md-li9{padding-left:10.8em} -#wmd-input .md-li10{padding-left:12em} -#wmd-input .md-li11{padding-left:13.2em} #wmd-input .img,#wmd-input .imgref{padding:0.2em 0.4em;padding-right:0} #wmd-input .md-bang,#wmd-input .md-alt,#wmd-input .md-title{color:#888} .preview-panel{position:absolute;top:0;left:0;overflow:hidden;-webkit-box-shadow:inset 1px 0 rgba(154,154,154,0.06);box-shadow:inset 1px 0 rgba(154,154,154,0.06);background-color:#f6f6f6;z-index:10}.layout-animate .preview-panel{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all} diff --git a/public/res-min/themes/school.css b/public/res-min/themes/school.css index a63a93ed..b48323f9 100644 --- a/public/res-min/themes/school.css +++ b/public/res-min/themes/school.css @@ -1236,7 +1236,7 @@ h3{font-size:1.7em} h4{font-size:1.25em} h5{font-size:1em} h6{font-size:.85em} -h1,h2,h3,h4,h5,h6{margin:1.3em 0} +h1,h2,h3,h4,h5,h6{margin:1.3em 0;text-align:start} pre{word-break:break-word} p,pre,pre.prettyprint,blockquote{margin:0 0 1.1em} hr{margin:2em 0} @@ -1449,7 +1449,7 @@ a.list-group-item:hover,a.list-group-item:focus{color:#2d2d2d;border-top-color:r #wmd-input .code,#wmd-input .img,#wmd-input .imgref,#wmd-input .md-toc{background-color:rgba(143,134,104,0.075);border-radius:4px;padding:0.15em 0} #wmd-input .md-toc{font-size:2.5em;padding:0.2em} #wmd-input .link .md-underlined-text,#wmd-input .linkref .md-underlined-text{color:inherit} -#wmd-input .blockquote{color:#5c82a4;padding-left:2em}#wmd-input .blockquote .li{padding-left:0} +#wmd-input .blockquote{color:#5c82a4} #wmd-input .h1,#wmd-input .h2,#wmd-input .h3,#wmd-input .h4,#wmd-input .h5,#wmd-input .h6{font-weight:600}#wmd-input .h1 .md-hash,#wmd-input .h2 .md-hash,#wmd-input .h3 .md-hash,#wmd-input .h4 .md-hash,#wmd-input .h5 .md-hash,#wmd-input .h6 .md-hash{color:rgba(92,130,164,0.4)} #wmd-input .h1,#wmd-input .h11{font-size:1.4em} #wmd-input .h2,#wmd-input .h22{font-size:1.3em} @@ -1463,18 +1463,6 @@ a.list-group-item:hover,a.list-group-item:focus{color:#2d2d2d;border-top-color:r #wmd-input .strong,#wmd-input .strong .md{font-weight:bold} #wmd-input .md-strike-text{text-decoration:line-through} #wmd-input .md-underlined-text{text-decoration:underline} -#wmd-input .li{padding-left:0.8em}#wmd-input .li .li{padding-left:0} -#wmd-input .md-li{padding-left:1.2em} -#wmd-input .md-li2{padding-left:2.4em} -#wmd-input .md-li3{padding-left:3.6em} -#wmd-input .md-li4{padding-left:4.8em} -#wmd-input .md-li5{padding-left:6em} -#wmd-input .md-li6{padding-left:7.2em} -#wmd-input .md-li7{padding-left:8.4em} -#wmd-input .md-li8{padding-left:9.6em} -#wmd-input .md-li9{padding-left:10.8em} -#wmd-input .md-li10{padding-left:12em} -#wmd-input .md-li11{padding-left:13.2em} #wmd-input .img,#wmd-input .imgref{padding:0.2em 0.4em;padding-right:0} #wmd-input .md-bang,#wmd-input .md-alt,#wmd-input .md-title{color:#32638e} .preview-panel{position:absolute;top:0;left:0;overflow:hidden;-webkit-box-shadow:inset 1px 0 rgba(121,121,121,0.06);box-shadow:inset 1px 0 rgba(121,121,121,0.06);background-color:#f5f4f2;z-index:10}.layout-animate .preview-panel{-webkit-transition:350ms ease-in-out all;transition:350ms ease-in-out all} diff --git a/public/res/constants.js b/public/res/constants.js index 76d134ec..34b7d7e8 100644 --- a/public/res/constants.js +++ b/public/res/constants.js @@ -1,6 +1,6 @@ define([], function() { var constants = {}; - constants.VERSION = "3.99.7"; + constants.VERSION = "3.99.8"; constants.MAIN_URL = "https://stackedit.io/"; constants.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1"; constants.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw";