Commit Graph

204 Commits

Author SHA1 Message Date
Ran Luo
405d04ce19
package and release muya (#413) 2018-07-07 00:10:30 +08:00
Ran Luo
c902f6b76b
bugfix: #406 relative image path not display (#411) 2018-07-03 10:49:46 +08:00
冉四夕
96e328501f
optimization: remove magic number (#403) 2018-06-25 10:27:27 +08:00
Felix Häusler
816154096a fix: #343 Inconsistent color scheme in source code mode (#363)
* fix: #343 Inconsistent color scheme in source code mode

* Fix style
2018-06-19 23:00:23 +08:00
Jocs
feaf744d26 bugfix: #360 No page breaks in PDF export 2018-06-19 19:43:26 +08:00
Jocs
509eff08fa fix: #348 do not export tabs and sidebar when export PDF 2018-06-19 19:33:29 +08:00
Jocs
05bf5b96d5 bugfix: #167 #357 #344 2018-06-19 18:38:40 +08:00
Jocs
4cb2d42708 bugfix: #342 2018-06-19 11:14:09 +08:00
Zach Alexander
3ab5070bf4 Bug #365 - Fix "move to trash" typo in sidebar menu (#366) 2018-06-18 21:07:00 +02:00
Jocs
888c49e312 update readme 2018-06-17 09:38:56 +08:00
Jocs
7621b53b49 optimization: add animation when hover sidebar icon 2018-06-15 22:33:59 +08:00
冉四夕
4be72ade97
Notification (#337)
* rewrite notice module

* optimization: show some notification when export html or pdf

* optimization: style of open project button

* little bug fix

* style: uniform titlebar hight to remove some style error
2018-06-15 21:30:10 +08:00
Jocs
ff78118611 bugfix: #335 2018-06-15 00:45:34 +08:00
Jocs
a8ced8d832 bugfix: unexpected scrollbars in source code mode #327 2018-06-14 22:56:25 +08:00
Jocs
4c0e412988 optimization: add mutiplexing mode of codemirror 2018-06-14 19:36:20 +08:00
Jocs
e4debffb2d optimization: style 2018-06-13 14:52:07 +08:00
Jocs
6df237532a style optimization in dark theme 2018-06-13 11:43:15 +08:00
冉四夕
447aa0c640
bugfix: #328 source code mode shortcut not work (#332) 2018-06-13 10:03:42 +08:00
冉四夕
434431175f
feature: copy table in context menu (#331) 2018-06-13 10:03:15 +08:00
Felix Häusler
51f9b17f95 Fix framless titlebar height (#326) 2018-06-13 10:02:47 +08:00
Jocs
8c392a7a5c feature: feedback via twitter
bugfix: can not save when there is no file edited
optimization: Don't show welcome page when init App
2018-06-12 19:42:31 +08:00
Jocs
fe6645e684 feature: add new tab menu item 2018-06-11 19:20:09 +08:00
Jocs
69efbb1545 fix: can not copy full link #312 2018-06-08 20:01:21 +08:00
Jocs
68b0871e94 fix style error in side bar 2018-06-07 21:01:04 +08:00
Jocs
a703501fe6 feature: tab view in dark and light theme 2018-06-06 23:29:18 +08:00
Jocs
d9e058bb57 bugfix: can not save single file 2018-06-06 22:09:21 +08:00
Jocs
7d1b7cc51a feature: brand page 2018-06-06 21:51:11 +08:00
Jocs
69aeebfba4 bufix in sidebar 2018-06-06 19:33:28 +08:00
Jocs
8310ee1082 show some notice info when some error happened 2018-06-06 18:09:50 +08:00
Jocs
233a7c0d86 if open empty project, add a create file button in side bar 2018-06-06 17:33:26 +08:00
Jocs
6df0c8fa6e feature: table of content 2018-06-06 16:08:04 +08:00
Jocs
e4877adc42 feature: search in project 2018-06-06 14:41:36 +08:00
Jocs
c099cc3ce7 bugfix: history error and main process error 2018-06-06 12:12:18 +08:00
Jocs
8fd13ed068 sidebar support dark theme 2018-06-05 23:58:32 +08:00
Jocs
184d96c76e optimization style of side bar 2018-06-05 23:09:58 +08:00
Jocs
30de74e866 remove debug codes 2018-06-05 00:33:30 +08:00
冉四夕
dc79014147
Support Side Bar、 Tabs and Quick Open in Mark Text (#317)
* side-bar-view

* list files view

* update the structure of store, add modules

* open project and change select files

* add tabs view

* listen for file/dir changing, and update in sidebar

* delete some unused code

* context menu in sidebar

* add tool bar and tab bar menu item

* save all and save all and close

* copy, cut, paste, new file, new directory, move to trash, open in folder

* rename in sidebar
2018-06-04 11:23:51 -05:00
Jocs
faf65e8eca optimization: add postcss to write css 2018-05-30 18:05:26 +08:00
Jocs
9c2bd1b7fe fix: #230 it should clear history when open a new file 2018-05-29 14:03:39 +08:00
冉四夕
911f0ce8e4
feature: context menu (#304)
* context menu

* edit table row and column and insert paragraph

* update change log

* update todo list

* fix comments bugs
2018-05-28 18:17:00 +08:00
Felix Häusler
f4f96de478 Insert spaces when tab key is pressed (#296) 2018-05-28 00:45:24 +08:00
冉四夕
80e6668957
Custom copy and paste (#303)
* Custom copy

* rewrite marked.js by es6 modules

* remove all the `var`

* optimization sanitize html

* feature: copyAsMarkdown copyAsHtml pasteAsPlainHtml

* remove debug codes
2018-05-27 14:13:41 +08:00
冉四夕
16bb1de82e
Support multiple lines math input (#294)
* change another way to render math

* open\save\edit multiple lines math block

* rewrite header label style

* inline code style update

* update dark theme style

* update change log

* typo error

* update webpack to v4

* update license

* fix unexpected to delete math preview block

* fix cursor error when change mode
2018-05-26 00:58:16 +08:00
冉四夕
30caf53d08
List item marker (#290)
* add bullet list marker to preference file

* list marker

* update change log

* update change log

* code style and remove debug codes
2018-05-22 10:19:37 +08:00
Felix Häusler
066c5485dd Fix frameless window drag (#280) 2018-05-19 23:42:30 +08:00
冉四夕
1e144f6c38
feature: support front matter #144 #220 (#261)
* feature: support front matter #144 #220

* rename in title bar only for macOs

* fix: need press `ENTER` twice when there in not `\n` at the end of front matter text

* refactor: add line block to front matter box

* update: issue template
2018-05-15 20:45:35 +08:00
Jocs
a6dbc29874 feature: Click filename to rename or save in title bar. 2018-05-14 18:12:19 +08:00
冉四夕
e7d76e2785
Partial render (#258)
* delete some unused codes

* optimization: rewrite getUniqueId in editor/util/index.js

* delete some unused codes

* replace all partialRender to new one

* delete debug code
2018-05-12 20:52:24 +08:00
Felix Häusler
dfffc73e69 Line ending (#234)
* Prepare line ending feature

* Detect document line ending

* Line ending conversion

* Add "endOfLine" settings option

* Add line ending menu

* Notify user about mixed endings

* Fixes

* Change line ending menu entries to radio style
2018-05-09 20:29:40 +08:00
Felix Häusler
c7f574b7b9 fix: #248 dark background disappears when export PDF (#252) 2018-05-08 10:19:04 +08:00
Jocs
8399cbe402 optimization of performance: source code mode 2018-04-30 21:08:03 +08:00
冉四夕
f569d2e9d9
fix some performance problem, add partial render and undo depth (#222)
* fix some performance problem, add partial render and undo depth

* optimization of performance: rewrite getBlock, getBlocks ...

* optimization of performance: cache the result of tokenization

* optimization of performance: render code block only needed
2018-04-30 01:46:09 +08:00
Jocs
6a260a5e89 fix: #94 history error 2018-04-27 22:48:54 +08:00
Felix Häusler
68b0594597 Add fallback editor font family (#209) 2018-04-26 10:19:39 +08:00
Anderson
62295d7872 feature: add editorFont setting in user preference. (#175)
* feature: add editorFont setting in user preference.

* Remove unused code.

* Update editor.js

* Update preference.md

* Add editorFontFamily fallback

* Remove unused code.
2018-04-18 22:04:47 +08:00
Felix Häusler
e87b301ff4 Fix UTF-8 BOM encoding (#147)
* Fix UTF-8 BOM encoding

* Update changelog
2018-04-15 20:52:48 +08:00
Felix Häusler
205cce066b Fix hr and dark background style when export HTML (#123) 2018-04-10 00:58:50 +08:00
Jocs
cc731ef529 Feature: auto pair 2018-04-08 20:47:55 +08:00
Felix Häusler
a924b52096 Reset modification indicator after successfully saved changes (#117) 2018-04-08 18:04:42 +08:00
冉四夕
07e08bcf99
Block html (#118)
* Feature: Basic use of Block HTML create and edit

* Feature: import Block HTML

* Feature: add dev snabbdom-virtualize to translate dom string to vitual dom

* Feature: export HTML block

* Feature: Block html export markdown, PDF, HTML

* bugfix: judge block html more strictly

* Bugfix: adjust cursor in source code mode when cursor is in block html
2018-04-07 22:08:24 +08:00
Felix Häusler
23cfc1199b enable frameless window on Linux (#115) 2018-04-04 10:29:48 +08:00
Jocs
aab3c652c5 Bugfix: can not empty the content in source code mode #105 2018-03-31 18:37:27 +08:00
Felix Häusler
723fec398b Allow exiting full screen with maximize button on windows (#109) 2018-03-31 17:33:02 +08:00
冉四夕
01903bd0ff
Feature: Toggle loose list item in paragraph menu (#103)
1. fix task list not work
2. fix order list not work
3. fix output unstylish html error
2018-03-30 23:48:06 +08:00
Felix Häusler
4d7d850969 Add loose and tight list compatibility (#74)
* Add loose and tight list compatibility

* Fix 'false' preference booleans are not handled
2018-03-30 01:52:54 +08:00
Jocs
e594705223 Remove unused console.log 2018-03-30 01:51:08 +08:00
冉四夕
7e884b1f10
Image path auto complement (#96)
* Image path auto complement

* Update: CHANGELOG and DOTOLIST
2018-03-30 01:03:33 +08:00
冉四夕
c00083bcc5
feature: Basic use of inline and display math #36 (#89)
* feature: Basic use of inline and display math

* Opti: add locale en to element-ui

* Feature: copy and paste in math block
2018-03-29 23:51:56 +08:00
Felix Häusler
05ddf6374c Debug cleanup (#85) 2018-03-28 15:03:32 +08:00
Jocs
3d17785d95 bugfix: #63 2018-03-27 22:27:57 +08:00
Jocs
347e3faaa8 bugfix: #81 cursor error when change source mode to real time mode 2018-03-27 13:23:53 +08:00
Jocs
031e83533b bugfix: #81 2018-03-27 00:48:40 +08:00
Jocs
d0fe613135 Bugfix: #55 2018-03-25 04:18:05 +08:00
Jocs
d7d21b5448 Feature: rename filename 2018-03-24 22:13:50 +08:00
Jocs
579220bbd8 Opti: If user click move to when the file is not save, show save dialog directly 2018-03-24 20:04:27 +08:00
Davis Riedel
a88fe322b4 Added move to (#72)
* Added move to

* Fixes
2018-03-24 19:47:43 +08:00
Felix Häusler
a115a0df7b Fix css and table dialog style (#73) 2018-03-24 18:50:41 +08:00
Jocs
216c5226c2 Update: DOTO LIST 2018-03-24 17:15:37 +08:00
Jocs
fdd22a893d Opti: can set color independently in dark and light theme 2018-03-23 22:56:48 +08:00
Jocs
2d5ccd7575 Opti: little optimization 2018-03-23 19:27:07 +08:00
Jocs
0b08429436 feature: add fontSize, lineHeight, color setting in the view menu.
You can also change them in use preferences.
2018-03-23 18:54:19 +08:00
Felix Häusler
e3340e14a2 Added 'Mark Text' menu for Linux and Windows (#59)
* Add 'Mark Text' menu for Linux and Windows

* Add about dialog for linux and windows
2018-03-23 18:27:17 +08:00
Felix Häusler
78094dc2a8 Add drag & drop support for markdown files (#50) 2018-03-22 10:12:11 +08:00
Jocs
39f5400544 feat: user preference and fix issues #45 #16 2018-03-21 17:11:18 +08:00
Felix Häusler
3e28b7e328 fix #44: set application menu offset without window position (#46) 2018-03-21 10:37:26 +08:00
Jocs
bf4c140981 fix: prevent open image or file directly when drag and drop over Mark Text #42 2018-03-20 21:47:13 +08:00
Jocs
203a6ba538 Bugfix: remove the symbol in output styled html. #41
1. update css-tree to latest version.
2. Add lineWrapping is true to codeMirror config
2018-03-20 11:24:00 +08:00
Jocs
085f4d1a80 Opti: hotkey of typewriter | source code | focus changed. #15
typewriter: Alt + Cmd + T => Shift + Cmd + T
Source code: Alt + Cmd + S => Shift + Cmd + S
focus: Alt + Cmd + M => Shift + Cmd + F
2018-03-20 10:23:01 +08:00
Jocs
ee85c9a326 Opti: update dep and style of image symtax 2018-03-18 21:16:12 +08:00
Jocs
68be26d190 feature: Insert Image
1. Abusolute path
2. relative path
3. Upload Image to Cloud
2018-03-18 03:02:35 +08:00
Jocs
1390db4d83 feature: autoupdate 2018-03-17 17:15:09 +08:00
Jocs
a45bc824be update readme 2018-03-16 00:16:15 +08:00
kepler0
7dd0104685
assign platform state directly 2018-03-15 13:14:53 +11:00
kepler0
bdd78bce60
remove platform dispatch 2018-03-15 13:13:51 +11:00
Daniel
82162612ba fix app 2018-03-14 21:03:25 +11:00
Daniel
22be088df0 merge from master 2018-03-14 20:43:58 +11:00
Daniel
9d3951cf1c revise app-drawn window controls 2018-03-14 20:36:22 +11:00
Jocs
1762b1ab94 test travis 2018-03-13 10:48:47 +08:00
冉四夕
f8028fd163 Merge pull request #10 from notAlaanor/master
add windows build support
2018-03-11 23:51:30 +08:00
Daniel
c8323cd4e1 add app-drawn windows titlebar 2018-03-11 19:00:04 +11:00