summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-05-30 12:45:13 +0800
committerCheng-Han, Wu2016-05-30 12:45:13 +0800
commit27e17d777281cda47b125de5d87714c532700c3d (patch)
treefd54f0b4524f08980740d30d719a933a64fa4f74
parentdfd2c6297c9dd3e0d7469bed23568489efb1df21 (diff)
Add release-notes as pure markdown file and remove old release notes section on index
-rw-r--r--public/docs/release-notes.md331
-rw-r--r--public/js/cover.js547
-rw-r--r--public/views/index.ejs37
3 files changed, 334 insertions, 581 deletions
diff --git a/public/docs/release-notes.md b/public/docs/release-notes.md
new file mode 100644
index 00000000..a945f262
--- /dev/null
+++ b/public/docs/release-notes.md
@@ -0,0 +1,331 @@
+Release Notes
+===
+
+<i class="fa fa-tag"></i> 0.4.0 `first-year` <i class="fa fa-clock-o"></i> 2016-04-20 14:30
+---
+
+### Features
++ Support docs
++ Support Ionicons and Octicons
++ Support mermaid diagram
++ Support import and export with Gist
++ Support import and export with Google Drive
++ Support more options in YAML metadata
++ Support change keymap and indentation size/type
+
+### Enhancements
+* Change header anchor styles
+* Refactor server code and configs
+* Support experimental spell checking
+* Upgrade CodeMirror to 5.13.5
+* Update to emit info and disconnect clients if updater get errors
+* Support to indicate if the note status is created or updated
+* Support more DB types
+* Server now use ORM for DBs
+* Support static file cache
+* Support more ssl settings
+* Improve server stablilty
+* Improve server performance
+* Support Ionicons
+* Support container syntax and styles
+* Improve input performance
+* Change markdown engine from remarkable to markdown-it
+* Server now support set sub url path
+* Support textcomplete in multiple editing
+* Update to filter XSS on rendering
+* Update to make sync scroll lerp on last line
+* Update to make continue list in todo list default as unchecked
+* Support auto indent whole line in list or blockquote
+
+### Fixes
+* Fix status bar might be inserted before loaded
+* Fix mobile layout and focus issues
+* Fix editor layout and styles might not handle correctly
+* Fix all diagram rendering method and styles to avoid partial update gets wrong
+* Fix to ignore process image which already wrapped by link node
+* Fix when cut or patse scroll map might get wrong
+* Fix to handle more socket error and info status
+* Fix textcomplete not matching properly
+* Fix and refactor cursor tag and cursor menu
+* Fix Japanese, Chinese font styles
+* Fix minor bugs of UI and seletor syntaxes
+
+<i class="fa fa-tag"></i> 0.3.4 `techstars` <i class="fa fa-clock-o"></i> 2016-01-19 00:22
+---
+### Features
++ Beta Support slide mode
++ Beta Support export to PDF
++ Support TOC syntax
++ Support embed slideshare and speakerdeck
++ Support Graphviz charts
++ Support YAML metadata
++ Support private permission
+
+### Enhancements
+* Support pin note in history
+* Support IE9 and above
+* Support specify and continue line number in code block
+* Changed all embed layout to 100% width
+* Added auto detect default mode
+* Support show last change note user
+* Upgrade CodeMirror to 5.10.1 with some manual patches
+* Improved server performance
+* Support autocomplete for code block languages of charts
+
+### Fixes
+* Fixed some server connection issues
+* Fixed several issues cause scrollMap incorrect
+* Fixed cursor animation should not apply on scroll
+* Fixed a possible bug in partial update
+* Fixed internal href should not link out
+* Fixed dropbox saver url not correct
+* Fixed mathjax might not parse properly
+* Fixed sequence diagram might render multiple times
+
+<i class="fa fa-tag"></i> 0.3.3 `moon-festival` <i class="fa fa-clock-o"></i> 2015-09-27 14:00
+---
+### Features
++ Added status bar below editor
++ Added resizable grid in both mode
++ Added title reminder if have unread changes
++ Support todo list change in the view mode
++ Support export to HTML
++ Changed to a new theme, One Dark(modified version)
+
+### Enhancements
+* Support extra tags in todo list
+* Changed overall font styles
+* Optimized build sync scroll map, gain lots better performance
+* Support and improved print styles
+* Support to use CDN
+* Image and link will href to new tab ors window
+* Support auto scroll to corresponding position when change mode from view to edit
+* Minor UI/UX tweaks
+
+### Fixes
+* Change DB schema to support long title
+* Change editable permission icon to avoid misunderstanding
+* Fixed some issues in OT and reconnection
+* Fixed cursor menu and cursor tag are not calculate doc height properly
+* Fixed scroll top might not animate
+* Fixed scroll top not save and restore properly
+* Fixed history might not delete or clear properly
+* Fixed server might not clean client properly
+
+<i class="fa fa-tag"></i> 0.3.2 `typhoon` <i class="fa fa-clock-o"></i> 2015-07-11 12:30
+---
+### Features
++ Support operational transformation
++ Support show other user selections
++ Support show user profile image if available
+
+### Enhancements
+* Updated editor to 5.4.0
+* Change UI share to publish to avoid misleading
+* Added random color in blockquote tag
+* Optimized image renderer, avoid duplicated rendering
+* Optimized building syncscroll map, make it faster
+* Optimized SEO on publish and edit note
+
+<i class="fa fa-tag"></i> 0.3.1 `clearsky` <i class="fa fa-clock-o"></i> 2015-06-30 16:00
+---
+### Features
++ Added auto table of content
++ Added basic permission control
++ Added view count in share note
+
+### Enhancements
+* Toolbar now will hide in single view
+* History time now will auto update
+* Smooth scroll on anchor changed
+* Updated video style
+
+### Fixes
+* Note might not clear when all users disconnect
+* Blockquote tag not parsed properly
+* History style not correct
+
+<i class="fa fa-tag"></i> 0.3.0 `sunrise` <i class="fa fa-clock-o"></i> 2015-06-15 24:00
+---
+### Enhancements
+* Used short url in share notes
+* Added upload image button on toolbar
+* Share notes are now SEO and mobile friendly
+* Updated code block style
+* Newline now will cause line breaks
+* Image now will link out
+* Used otk to avoid race condition
+* Used hash to avoid data inconsistency
+* Optimized server realtime script
+
+### Fixes
+* Composition input might lost or duplicated when other input involved
+* Note title might not save properly
+* Todo list not render properly
+
+<i class="fa fa-tag"></i> 0.2.9 `wildfire` <i class="fa fa-clock-o"></i> 2015-05-30 14:00
+---
+### Features
++ Support text auto complete
++ Support cursor tag and random last name
++ Support online user list
++ Support show user info in blockquote
+
+### Enhancements
+* Added more code highlighting support
+* Added more continue list support
+* Adjust menu and history filter UI for better UX
+* Adjust sync scoll animte to gain performance
+* Change compression method of dynamic data
+* Optimized render script
+
+### Fixes
+* Access history fallback might get wrong
+* Sync scroll not accurate
+* Sync scroll reach bottom range too much
+* Detect login state change not accurate
+* Detect editor focus not accurate
+* Server not handle some editor events
+
+<i class="fa fa-tag"></i> 0.2.8 `flame` <i class="fa fa-clock-o"></i> 2015-05-15 12:00
+---
+### Features
++ Support drag-n-drop(exclude firefox) and paste image inline
++ Support tags filter in history
++ Support sublime-like shortcut keys
+
+### Enhancements
+* Adjust index description
+* Adjust toolbar ui and view font
+* Remove scroll sync delay and gain accuracy
+
+### Fixes
+* Partial update in the front and the end might not render properly
+* Server not handle some editor events
+
+<i class="fa fa-tag"></i> 0.2.7 `fuel` <i class="fa fa-clock-o"></i> 2015-05-03 12:00
+---
+### Features
++ Support facebook, twitter, github, dropbox login
++ Support own history
+
+### Enhancements
+* Adjust history ui
+* Upgrade realtime package
+* Upgrade editor package, now support composition input better
+
+### Fixes
+* Partial update might not render properly
+* Cursor focus might not at correct position
+
+<i class="fa fa-tag"></i> 0.2.6 `zippo` <i class="fa fa-clock-o"></i> 2015-04-24 16:00
+---
+### Features
++ Support sync scroll
++ Support partial update
+
+### Enhancements
+* Added feedback ui
+* Adjust animations and delays
+* Adjust editor viewportMargin for performance
+* Adjust emit refresh event occasion
+* Added editor fallback fonts
+* Index page auto focus at history if valid
+
+### Fixes
+* Server might not disconnect client properly
+* Resume connection might restore wrong info
+
+<i class="fa fa-tag"></i> 0.2.5 `lightning` <i class="fa fa-clock-o"></i> 2015-04-14 21:10
+---
+### Features
++ Support import from dropbox and clipboard
++ Support more code highlighting
++ Support mathjax, sequence diagram and flow chart
+
+### Enhancements
+* Adjust toolbar and layout style
+* Adjust mobile layout style
+* Adjust history layout style
+* Server using heartbeat to gain accuracy of online users
+
+### Fixes
+* Virtual keyboard might broken the navbar
+* Adjust editor viewportMargin for preloading content
+
+<i class="fa fa-tag"></i> 0.2.4 `flint` <i class="fa fa-clock-o"></i> 2015-04-10 12:40
+---
+### Features
++ Support save to dropbox
++ Show other users' cursor with light color
+
+### Enhancements
+* Adjust toolbar layout style for future
+### Fixes
+* Title might not render properly
+* Code border style might not show properly
+* Server might not connect concurrent client properly
+
+<i class="fa fa-tag"></i> 0.2.3 `light` <i class="fa fa-clock-o"></i> 2015-04-06 20:30
+---
+### Features
++ Support youtube, vimeo
++ Support gist
++ Added quick link in pretty
++ Added font-smoothing style
+
+### Enhancements
+* Change the rendering engine to remarkable
+* Adjust view, todo list layout style for UX
++ Added responsive layout check
++ Auto reload if client version mismatch
++ Keep history stack after reconnect if nothing changed
++ Added features page
+
+### Fixes
+* Closetags auto input might not have proper origin
+* Autofocus on editor only if it's on desktop
+* Prevent using real script and iframe tags
+* Sorting in history by time not percise
+
+<i class="fa fa-tag"></i> 0.2.2 `fire` <i class="fa fa-clock-o"></i> 2015-03-27 21:10
+---
+### Features
++ Support smartLists, smartypants
++ Support line number on code block
++ Support tags and search or sort history
+
+### Enhancements
++ Added delay on socket change
++ Updated markdown-body width to match github style
++ Socket changes now won't add to editor's history
++ Reduce redundant server events
+
+### Fixes
+* Toolbar links might get wrong
+* Wrong action redirections
+
+<i class="fa fa-tag"></i> 0.2.1 `spark` <i class="fa fa-clock-o"></i> 2015-03-17 13:40
+---
+
+### Features
++ Support github-like todo-list
++ Support emoji
+
+ ### Enhancements
++ Added more effects on transition
++ Reduced rendering delay
++ Auto close and match brackets
++ Auto close and match tags
++ Added code fold and fold gutters
++ Added continue listing of markdown
+
+<i class="fa fa-tag"></i> 0.2.0 `launch-day` <i class="fa fa-clock-o"></i> 2015-03-14 20:20
+---
+### Features
+
++ Markdown editor
++ Preview html
++ Realtime collaborate
++ Cross-platformed
++ Recently used history \ No newline at end of file
diff --git a/public/js/cover.js b/public/js/cover.js
index d5ba2b3c..77444542 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -323,549 +323,4 @@ $(".ui-use-tags").on('change', function () {
$('.search').keyup(function () {
checkHistoryList();
-});
-
-var source = $("#template").html();
-var template = Handlebars.compile(source);
-var context = {
- release: [
- {
- version: "0.4.0",
- tag: "first-year",
- date: moment("201604201430", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support docs",
- "+ Support Ionicons and Octicons",
- "+ Support mermaid diagram",
- "+ Support import and export with Gist",
- "+ Support import and export with Google Drive",
- "+ Support more options in YAML metadata",
- "+ Support change keymap and indentation size/type"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Change header anchor styles",
- "* Refactor server code and configs",
- "* Support experimental spell checking",
- "* Upgrade CodeMirror to 5.13.5",
- "* Update to emit info and disconnect clients if updater get errors",
- "* Support to indicate if the note status is created or updated",
- "* Support more DB types",
- "* Server now use ORM for DBs",
- "* Support static file cache",
- "* Support more ssl settings",
- "* Improve server stablilty",
- "* Improve server performance",
- "* Support Ionicons",
- "* Support container syntax and styles",
- "* Improve input performance",
- "* Change markdown engine from remarkable to markdown-it",
- "* Server now support set sub url path",
- "* Support textcomplete in multiple editing",
- "* Update to filter XSS on rendering",
- "* Update to make sync scroll lerp on last line",
- "* Update to make continue list in todo list default as unchecked",
- "* Support auto indent whole line in list or blockquote"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Fix status bar might be inserted before loaded",
- "* Fix mobile layout and focus issues",
- "* Fix editor layout and styles might not handle correctly",
- "* Fix all diagram rendering method and styles to avoid partial update gets wrong",
- "* Fix to ignore process image which already wrapped by link node",
- "* Fix when cut or patse scroll map might get wrong",
- "* Fix to handle more socket error and info status",
- "* Fix textcomplete not matching properly",
- "* Fix and refactor cursor tag and cursor menu",
- "* Fix Japanese, Chinese font styles",
- "* Fix minor bugs of UI and seletor syntaxes"
- ]
- }
- ]
- },
- {
- version: "0.3.4",
- tag: "techstars",
- date: moment("201601190022", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Beta Support slide mode",
- "+ Beta Support export to PDF",
- "+ Support TOC syntax",
- "+ Support embed slideshare and speakerdeck",
- "+ Support Graphviz charts",
- "+ Support YAML metadata",
- "+ Support private permission"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Support pin note in history",
- "* Support IE9 and above",
- "* Support specify and continue line number in code block",
- "* Changed all embed layout to 100% width",
- "* Added auto detect default mode",
- "* Support show last change note user",
- "* Upgrade CodeMirror to 5.10.1 with some manual patches",
- "* Improved server performance",
- "* Support autocomplete for code block languages of charts"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Fixed some server connection issues",
- "* Fixed several issues cause scrollMap incorrect",
- "* Fixed cursor animation should not apply on scroll",
- "* Fixed a possible bug in partial update",
- "* Fixed internal href should not link out",
- "* Fixed dropbox saver url not correct",
- "* Fixed mathjax might not parse properly",
- "* Fixed sequence diagram might render multiple times"
- ]
- }
- ]
- },
- {
- version: "0.3.3",
- tag: "moon-festival",
- date: moment("201509271400", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Added status bar below editor",
- "+ Added resizable grid in both mode",
- "+ Added title reminder if have unread changes",
- "+ Support todo list change in the view mode",
- "+ Support export to HTML",
- "+ Changed to a new theme, One Dark(modified version)"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Support extra tags in todo list",
- "* Changed overall font styles",
- "* Optimized build sync scroll map, gain lots better performance",
- "* Support and improved print styles",
- "* Support to use CDN",
- "* Image and link will href to new tab ors window",
- "* Support auto scroll to corresponding position when change mode from view to edit",
- "* Minor UI/UX tweaks"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Change DB schema to support long title",
- "* Change editable permission icon to avoid misunderstanding",
- "* Fixed some issues in OT and reconnection",
- "* Fixed cursor menu and cursor tag are not calculate doc height properly",
- "* Fixed scroll top might not animate",
- "* Fixed scroll top not save and restore properly",
- "* Fixed history might not delete or clear properly",
- "* Fixed server might not clean client properly"
- ]
- }
- ]
- },
- {
- version: "0.3.2",
- tag: "typhoon",
- date: moment("201507111230", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support operational transformation",
- "+ Support show other user selections",
- "+ Support show user profile image if available"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Updated editor to 5.4.0",
- "* Change UI share to publish to avoid misleading",
- "* Added random color in blockquote tag",
- "* Optimized image renderer, avoid duplicated rendering",
- "* Optimized building syncscroll map, make it faster",
- "* Optimized SEO on publish and edit note"
- ]
- }
- ]
- },
- {
- version: "0.3.1",
- tag: "clearsky",
- date: moment("201506301600", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Added auto table of content",
- "+ Added basic permission control",
- "+ Added view count in share note"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Toolbar now will hide in single view",
- "* History time now will auto update",
- "* Smooth scroll on anchor changed",
- "* Updated video style"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Note might not clear when all users disconnect",
- "* Blockquote tag not parsed properly",
- "* History style not correct"
- ]
- }
- ]
- },
- {
- version: "0.3.0",
- tag: "sunrise",
- date: moment("201506152400", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Enhancements",
- item: [
- "* Used short url in share notes",
- "* Added upload image button on toolbar",
- "* Share notes are now SEO and mobile friendly",
- "* Updated code block style",
- "* Newline now will cause line breaks",
- "* Image now will link out",
- "* Used otk to avoid race condition",
- "* Used hash to avoid data inconsistency",
- "* Optimized server realtime script"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Composition input might lost or duplicated when other input involved",
- "* Note title might not save properly",
- "* Todo list not render properly"
- ]
- }
- ]
- },
- {
- version: "0.2.9",
- tag: "wildfire",
- date: moment("201505301400", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support text auto complete",
- "+ Support cursor tag and random last name",
- "+ Support online user list",
- "+ Support show user info in blockquote"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Added more code highlighting support",
- "* Added more continue list support",
- "* Adjust menu and history filter UI for better UX",
- "* Adjust sync scoll animte to gain performance",
- "* Change compression method of dynamic data",
- "* Optimized render script"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Access history fallback might get wrong",
- "* Sync scroll not accurate",
- "* Sync scroll reach bottom range too much",
- "* Detect login state change not accurate",
- "* Detect editor focus not accurate",
- "* Server not handle some editor events"
- ]
- }
- ]
- },
- {
- version: "0.2.8",
- tag: "flame",
- date: moment("201505151200", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support drag-n-drop(exclude firefox) and paste image inline",
- "+ Support tags filter in history",
- "+ Support sublime-like shortcut keys"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Adjust index description",
- "* Adjust toolbar ui and view font",
- "* Remove scroll sync delay and gain accuracy"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Partial update in the front and the end might not render properly",
- "* Server not handle some editor events"
- ]
- }
- ]
- },
- {
- version: "0.2.7",
- tag: "fuel",
- date: moment("201505031200", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support facebook, twitter, github, dropbox login",
- "+ Support own history"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Adjust history ui",
- "* Upgrade realtime package",
- "* Upgrade editor package, now support composition input better"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Partial update might not render properly",
- "* Cursor focus might not at correct position"
- ]
- }
- ]
- },
- {
- version: "0.2.6",
- tag: "zippo",
- date: moment("201504241600", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support sync scroll",
- "+ Support partial update"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Added feedback ui",
- "* Adjust animations and delays",
- "* Adjust editor viewportMargin for performance",
- "* Adjust emit refresh event occasion",
- "* Added editor fallback fonts",
- "* Index page auto focus at history if valid"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Server might not disconnect client properly",
- "* Resume connection might restore wrong info"
- ]
- }
- ]
- },
- {
- version: "0.2.5",
- tag: "lightning",
- date: moment("201504142110", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support import from dropbox and clipboard",
- "+ Support more code highlighting",
- "+ Support mathjax, sequence diagram and flow chart"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Adjust toolbar and layout style",
- "* Adjust mobile layout style",
- "* Adjust history layout style",
- "* Server using heartbeat to gain accuracy of online users"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Virtual keyboard might broken the navbar",
- "* Adjust editor viewportMargin for preloading content"
- ]
- }
- ]
- },
- {
- version: "0.2.4",
- tag: "flint",
- date: moment("201504101240", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support save to dropbox",
- "+ Show other users' cursor with light color"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Adjust toolbar layout style for future"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Title might not render properly",
- "* Code border style might not show properly",
- "* Server might not connect concurrent client properly"
- ]
- }
- ]
- },
- {
- version: "0.2.3",
- tag: "light",
- date: moment("201504062030", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support youtube, vimeo",
- "+ Support gist",
- "+ Added quick link in pretty",
- "+ Added font-smoothing style"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "* Change the rendering engine to remarkable",
- "* Adjust view, todo list layout style for UX",
- "+ Added responsive layout check",
- "+ Auto reload if client version mismatch",
- "+ Keep history stack after reconnect if nothing changed",
- "+ Added features page"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Closetags auto input might not have proper origin",
- "* Autofocus on editor only if it's on desktop",
- "+ Prevent using real script and iframe tags",
- "* Sorting in history by time not percise"
- ]
- }
- ]
- },
- {
- version: "0.2.2",
- tag: "fire",
- date: moment("201503272110", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support smartLists, smartypants",
- "+ Support line number on code block",
- "+ Support tags and search or sort history"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "+ Added delay on socket change",
- "+ Updated markdown-body width to match github style",
- "+ Socket changes now won't add to editor's history",
- "* Reduce redundant server events"
- ]
- },
- {
- title: "Fixes",
- item: [
- "* Toolbar links might get wrong",
- "* Wrong action redirections"
- ]
- }
- ]
- },
- {
- version: "0.2.1",
- tag: "spark",
- date: moment("201503171340", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Support github-like todo-list",
- "+ Support emoji"
- ]
- },
- {
- title: "Enhancements",
- item: [
- "+ Added more effects on transition",
- "+ Reduced rendering delay",
- "+ Auto close and match brackets",
- "+ Auto close and match tags",
- "+ Added code fold and fold gutters",
- "+ Added continue listing of markdown"
- ]
- }
- ]
- },
- {
- version: "0.2.0",
- tag: "launch-day",
- date: moment("201503142020", 'YYYYMMDDhhmm').fromNow(),
- detail: [
- {
- title: "Features",
- item: [
- "+ Markdown editor",
- "+ Preview html",
- "+ Realtime collaborate",
- "+ Cross-platformed",
- "+ Recently used history"
- ]
- }
- ]
- }
- ]
-};
-var html = template(context);
-$("#releasenotes").html(html); \ No newline at end of file
+}); \ No newline at end of file
diff --git a/public/views/index.ejs b/public/views/index.ejs
index abedab48..a720440a 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -45,8 +45,6 @@
</li>
<li class="ui-history"><a href="#">History</a>
</li>
- <li class="ui-releasenotes"><a href="#">Release Notes</a>
- </li>
</ul>
</nav>
</div>
@@ -116,43 +114,14 @@
<ul id="history-list" class="list">
</ul>
</div>
- <div id="releasenotes" class="section" style="display:none;">
- <div id="template" style="display:none;">
- {{#each release}}
- <div class="inner cover">
- <h5 class="cover-heading">
- <div class="text-left">
- <i class="fa fa-tag"></i> {{version}}
- &nbsp;<span class="label label-default">{{tag}}</span>
- <div class="pull-right">
- <i class="fa fa-clock-o"></i> {{date}}
- </div>
- </div>
- </h5>
- <hr>{{#each detail}}
- <div class="text-left">
- <h5><i class="fa fa-dot-circle-o"></i> {{title}}</h5>
- <ul>
- {{#each item}}
- <li>
- {{this}}
- </li>
- {{/each}}
- </ul>
- </div>
- {{/each}}
- </div>
- {{#unless @last}}
- <br>{{/unless}} {{/each}}
- </div>
- </div>
<div class="mastfoot">
<div class="inner">
<h6>
<iframe src="//ghbtns.com/github-btn.html?user=hackmdio&repo=hackmd&type=star&count=true" frameborder="0" scrolling="0" width="90px" height="20px" style="vertical-align:middle;"></iframe>
</h6>
- <p>&copy; 2016 <a href="https://www.facebook.com/TakeHackMD" target="_blank"><i class="fa fa-facebook-square"></i> HackMD</a>
+ <p>
+ &copy; 2016 <a href="https://www.facebook.com/TakeHackMD" target="_blank"><i class="fa fa-facebook-square"></i> HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank">Releases</a>
</p>
</div>
</div>
@@ -190,7 +159,6 @@
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/3.5.2/select2.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.12.0/moment-with-locales.min.js" defer></script>
- <script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.5/handlebars.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/js-url/2.0.2/url.min.js" defer></script>
<% } else { %>
<script src="<%- url %>/vendor/jquery/dist/jquery.min.js" defer></script>
@@ -198,7 +166,6 @@
<script src="<%- url %>/vendor/bootstrap/dist/js/bootstrap.min.js" defer></script>
<script src="<%- url %>/vendor/select2/select2.min.js" defer></script>
<script src="<%- url %>/vendor/moment/min/moment-with-locales.min.js" defer></script>
- <script src="<%- url %>/vendor/handlebars/handlebars.min.js" defer></script>
<script src="<%- url %>/vendor/js-url/url.min.js" defer></script>
<% } %>
<script src="<%- url %>/vendor/js.cookie.js" defer></script>