diff --git a/lib/migrations/20161009040430-support-delete-note.js b/lib/migrations/20161009040430-support-delete-note.js index f478b6fef..92ff6f7b9 100644 --- a/lib/migrations/20161009040430-support-delete-note.js +++ b/lib/migrations/20161009040430-support-delete-note.js @@ -6,6 +6,6 @@ module.exports = { }, down: function (queryInterface, Sequelize) { - queryInterface.removeColumn('Notes', 'deletedAt', Sequelize.DATE); + queryInterface.removeColumn('Notes', 'deletedAt'); } }; diff --git a/lib/migrations/20161201050312-support-email-signin.js b/lib/migrations/20161201050312-support-email-signin.js index bdea7c8c9..b5aaf7771 100644 --- a/lib/migrations/20161201050312-support-email-signin.js +++ b/lib/migrations/20161201050312-support-email-signin.js @@ -7,7 +7,7 @@ module.exports = { }, down: function (queryInterface, Sequelize) { - queryInterface.removeColumn('Users', 'email', Sequelize.TEXT); - queryInterface.removeColumn('Users', 'password', Sequelize.TEXT); + queryInterface.removeColumn('Users', 'email'); + queryInterface.removeColumn('Users', 'password'); } }; diff --git a/public/css/cover.css b/public/css/cover.css index a1527bfa1..6e191d2b2 100644 --- a/public/css/cover.css +++ b/public/css/cover.css @@ -354,6 +354,12 @@ input { color: white; } +.screenshot { + margin: 30px auto; + width: 100%; + border-radius: 3px; +} + select { color: black; } diff --git a/public/js/index.js b/public/js/index.js index 8e3bc5617..39f28fbd4 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -3452,6 +3452,7 @@ function updateViewInner() { var value = editor.getValue(); var lastMeta = md.meta; md.meta = {}; + delete md.metaError; var rendered = md.render(value); if (md.meta.type && md.meta.type === 'slide') { var slideOptions = { diff --git a/public/js/pretty.js b/public/js/pretty.js index 64d41c435..18d0dc0d8 100644 --- a/public/js/pretty.js +++ b/public/js/pretty.js @@ -24,6 +24,7 @@ const markdown = $("#doc.markdown-body"); const text = markdown.text(); const lastMeta = md.meta; md.meta = {}; +delete md.metaError; let rendered = md.render(text); if (md.meta.type && md.meta.type === 'slide') { const slideOptions = { diff --git a/public/screenshot.png b/public/screenshot.png new file mode 100644 index 000000000..e1e774315 Binary files /dev/null and b/public/screenshot.png differ diff --git a/public/views/index.ejs b/public/views/index.ejs index 25139907c..4bcea0eb2 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -87,6 +87,7 @@ <%= __('Explore all features') %>

+