Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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
冉四夕
7e884b1f10
Image path auto complement (#96)
* Image path auto complement

* Update: CHANGELOG and DOTOLIST
2018-03-30 01:03:33 +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
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
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
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
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
Daniel
22be088df0 merge from master 2018-03-14 20:43:58 +11:00