From 015c96a1219d4aec34533c6e595c97f9a4b57ee8 Mon Sep 17 00:00:00 2001 From: Benoit Schweblin Date: Tue, 5 Nov 2013 13:24:43 -0800 Subject: [PATCH 1/7] Published with https://stackedit.io/ --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 43f35d30..dee9e063 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,9 @@ StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown - [Theming guide][4] ### Support StackEdit: + +Flattr this + [![Fund me on Gittip](https://www.gittip.com/assets/gittip.png)](https://www.gittip.com/stackedit/ "Fund me on Gittip") > **NOTE:** This page has been written and published with [StackEdit][5]. From 2c14725f6c7a03a851dbac921cb32873da250c71 Mon Sep 17 00:00:00 2001 From: Benoit Schweblin Date: Tue, 5 Nov 2013 13:25:19 -0800 Subject: [PATCH 2/7] Published with https://stackedit.io/ --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dee9e063..1977579f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown ### Support StackEdit: -Flattr this +Flattr this [![Fund me on Gittip](https://www.gittip.com/assets/gittip.png)](https://www.gittip.com/stackedit/ "Fund me on Gittip") From 8e07b8764f4b935ae3616e64075be96ea208c5e0 Mon Sep 17 00:00:00 2001 From: benweet Date: Wed, 6 Nov 2013 22:42:48 +0000 Subject: [PATCH 3/7] Added Dockerfile --- docker/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docker/Dockerfile diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 00000000..32d2fff1 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,15 @@ +# Dockerfile for cloud9 + +FROM shykes/nodejs + +RUN apt-get update +RUN apt-get upgrade + +RUN apt-get install -y git-core + +RUN git clone https://github.com/benweet/stackedit.git + +RUN (cd /stackedit/ && npm install) +EXPOSE 3000 + +CMD (cd /stackedit/ && node server.js) From 2173349f494136a5fc7e3a47e2694a64024d8d61 Mon Sep 17 00:00:00 2001 From: benweet Date: Wed, 6 Nov 2013 22:44:51 +0000 Subject: [PATCH 4/7] Added Dockerfile --- docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 32d2fff1..a99de073 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -# Dockerfile for cloud9 +# Dockerfile for StackEdit FROM shykes/nodejs From 38676719231c95b83b31d128ecb75d19c6f04429 Mon Sep 17 00:00:00 2001 From: benweet Date: Wed, 6 Nov 2013 23:10:24 +0000 Subject: [PATCH 5/7] Added Dockerfile --- docker/Dockerfile => Dockerfile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename docker/Dockerfile => Dockerfile (100%) diff --git a/docker/Dockerfile b/Dockerfile similarity index 100% rename from docker/Dockerfile rename to Dockerfile From 1c4d76a99cfad42f19156118510a8e7e0098264c Mon Sep 17 00:00:00 2001 From: Kelvin Wong Date: Sat, 9 Nov 2013 02:07:08 +0800 Subject: [PATCH 6/7] Fixed link to welcome document from readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1977579f..781e0e91 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown [1]: https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Storage#localStorage - [2]: https://github.com/benweet/stackedit/blob/master/WELCOME.md#welcome-to-stackedit---welcome "Welcome document" + [2]: https://github.com/benweet/stackedit/blob/master/public/res/WELCOME.md#welcome-to-stackedit---welcome "Welcome document" [3]: https://github.com/benweet/stackedit/blob/master/doc/developer-guide.md#developer-guide "Developer guide" [4]: https://github.com/benweet/stackedit/blob/master/doc/theming.md#stackedit-theming-guide "Theming guide" [5]: https://stackedit.io/ "StackEdit" \ No newline at end of file From 78b8aa860ec6fbac564dd34d60576858df7b2626 Mon Sep 17 00:00:00 2001 From: Denis Bardadym Date: Thu, 14 Nov 2013 12:12:59 +0400 Subject: [PATCH 7/7] Use highlight.js right. --- public/res/extensions/markdownExtra.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/res/extensions/markdownExtra.js b/public/res/extensions/markdownExtra.js index ba1fe159..32bd888b 100644 --- a/public/res/extensions/markdownExtra.js +++ b/public/res/extensions/markdownExtra.js @@ -61,7 +61,7 @@ define([ options.highlighter = "prettify"; var previewContentsElt = document.getElementById('preview-contents'); editor.hooks.chain("onPreviewRefresh", function() { - _.each(previewContentsElt.querySelectorAll('.prettyprint'), function(elt) { + _.each(previewContentsElt.querySelectorAll('.prettyprint > code'), function(elt) { hljs.highlightBlock(elt); }); });