Commit Graph

58 Commits

Author SHA1 Message Date
Felix Häusler
ddf9c50a42
Complete TOML and JSON front matter (#1402)
* Complete TOML and JSON front matter

* Add frontmatter settings
2019-10-02 23:27:29 +02:00
Felix Häusler
72702427f1 Add ripgrep as find in files backend (#1086)
* Add ripgrep as find in files backend

* Fix API limit on Appveyor

* Fix css style

* support search and jump (#1)

* Style fixes
2019-06-20 22:46:24 +08:00
Felix Häusler
d7defe97dd
Allow to set editor line width and window zoom (#1092)
* Allow to set editor line width and window zoom

* Improve input text changed event

* Make textbox smaller
2019-06-16 15:39:02 +02:00
Felix Häusler
e6e652713a
Find best window to open second-instance files and directories in (#1054)
* Files via command-line are opened in the best window

* Don't show FSW changed notification while saving

* Fixed source-code mode setting and remove focus/typewritter option

* Simplify ignore list

* Fix invalid dialog parameter

* Fix invalid dialog parameter (2)

* Use async message box dialog

* Update documentation

* few changes

* Check timer before calling clearTimeout

* Improve switch style

* Fix style
2019-06-09 15:41:58 +02:00
Ran Luo
c239e99f1b
Refactor inline image to support paste/drop image (#1028)
* feat: image setting

* opti: inline image

* add imageSelectAction

* remove axios from muya

* update image selector

* finish image selector ui

* add load success style

* delete image by click delete icon

* opti structure of image html

* handle arrow key

* enter to edit

* image preview by press space

* handle backspace when the previous element is image wrapper

* update codes for change another PC

* emable select all in input

* handle arrow and backspace key

* create a new paragraph after the last paragraph if its not empty

* handle backspace when the previous element is image wrapper

* handle enter event in image selector

* rewrite auto show image selector

* modify image folder

* copy file to folder

* select image

* handle paste image

* picgo

* guess image path from clipboard

* drag and drop image to Mark Text

* add github uploader

* remove unused codes

* remove unused codes

* rewrite image path auto complete

* support `path` imageInsertAction

* doc: add image uploader doc

* remove debug codes

* set init value in image uploader page

* fix typo

* remove unused codes

* drag web image to Mark Text

* add save notification

* opti uploading process

* fix did not close image selector bug

* check image content type when drag web link image

* fix: unable to preview relative path image.

* emit change event after paste/drop image

* add url map in image selector

* feat: screenshot and auto insert the screenshot image

* update error handler

* feat: use the native screencapture command line on macOs system

* opti: drop image

* fix: handle enter error when cursor is after a image

* fix: hasOwnProperty error

* remove debug codes

* fix: backspace when the previous ele is image

* fix: CI error and optimize some codes

* use hash of file path to generate the copied filename

* change default imageInsertAction to `path`

* fix: typo

* remove some unused codes and opti get image file name

* fix some bugs and opti codes

* update image edit icon

* romove screen capture on Linux and Windows

* fix: conflict

* fix error that can not insert image after the existed image or before existed image
2019-05-26 23:55:13 +08:00
Ran Luo
4bd22b6dc5
Mark Text Preference (#1003)
* dynamic change element-ui theme to our themeColor

* add some ui components

* add preference doc

* add json schema file

* update preference.json and schema.json

* reset to old commit

* rename preference file for rebase

* rebase develop

* add setting window

* user electron-store to store preferences

* add themes setting

* add select component

* add markdown pref

* fix: bool and select init value

* add font size setting

* editor pref

* add general preference

* search preference

* update menu after preference changed

* update muya codes

* prevent scale setting window

* fix: titlebar undefined

* update input style

* remove window from windowManager after close setting window

* remove old docs and preference.md

* if a setting window is already created, no need to create another one, just move it to top

* rename openFilesInNewWindow to openFileInNewWindow

* change aidou runtime

* change hideQuickInsertHint by setting page runtime

* change autopair runtime

* change codefont and codefontfamily dynamic

* change default value of autoSave to false

* update bulletListMarker

* fix style error

* add custom titlebar to settings window

* add window shadow for Linux and Windows

* fix Windows build

* fix some typo error

* update doc

* add default menu and setting menu

* fix update menu bug

* fix typo

* remove mac titlebarstyle

* do not need to send titlebarstyle to renderer

* fix typo

* crash Mark Text if no initial preference.json file

* update the path

* add showCustomTitleBar prop

* set empty settings menu on Linux/Windows + workaround
2019-05-09 09:26:28 +08:00
Felix Häusler
1c4ec7cae4 add list indentation settings (#900) 2019-04-10 22:43:21 +08:00
Felix Häusler
004879b49a Modified themes and added dark and one dark theme (#826)
* Modified themes and added dark and one dark theme

* fix: print service

* Update documentation
2019-03-31 12:56:03 +08:00
Felix Häusler
cbd90bfeb4 User-defined open files (#735) 2019-03-07 22:59:40 +08:00
Felix Häusler
359387a390 User-defined titlebar settings (#721) 2019-03-04 10:57:31 +08:00
Felix Häusler
790448ae5f Allow custom fonts and improve side bar (#626) 2018-12-25 18:52:51 +08:00
enyaxu
c01c65cbba #421 Add experiment function RTL support (#439)
* feature: Add experiment RTL support

* fix: binding to currentfile textdirection

* feature: add sourcecode RTL support

* feature: add text direction menu upgrade

* fix sourceCode does't change from menu switch text direction
2018-08-12 20:55:48 +08:00
Ran Luo
405d04ce19
package and release muya (#413) 2018-07-07 00:10:30 +08:00
Ran Luo
82d82e6ac3
optimization: add gauss blur effect when open a modal (#407)
* optimization: add gauss blur effect when open a modal

* only for maxOs
2018-07-01 23:13:58 +08:00
Jocs
d7315f7a19 fix: #371 wrong paste behavior 2018-06-20 19:38:18 +08:00
Felix Häusler
311d7ddf1a Bundle desktop files and resources (#336) 2018-06-15 12:51:37 +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
2c8814c5ee feature: copy table from Number 2018-06-05 18:06:41 +08:00
Jocs
faf65e8eca optimization: add postcss to write css 2018-05-30 18:05:26 +08:00
Jocs
a3a0c80d33 optimization: move icons and windows folders to static folder 2018-05-29 23:42:25 +08:00
Felix Häusler
f4f96de478 Insert spaces when tab key is pressed (#296) 2018-05-28 00:45:24 +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
冉四夕
0b46fe2f2d
feature: Support setext heading but the default heading style is atx (#268)
* feature: Support `setext` heading but the default heading style is `atx`

* optimization: change fenced code block style

* change hard line break icon

* optimization: render content state
2018-05-17 10:11:53 +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
2add5d5856 Smaller scrollbars and hover color (#245) 2018-05-06 01:20:52 +08:00
Jocs
9882dbe59c fix: #213 style error when render math 2018-04-26 22:30:58 +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
Gabriel Caruso
f46d7363cd Use HTTPS instead of HTTP (#158) 2018-04-16 10:47:46 +08:00
C272
e5e3b53366 Fixed formatting and grammatical errors. (#137) 2018-04-13 20:38:30 +08:00
Sam Kvale
b437433abd fix(static): Spelling (#136) 2018-04-12 22:12:17 +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
a45bf48bb1 Fix horizontal line style (#120) 2018-04-08 18:54:09 +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
723fec398b Allow exiting full screen with maximize button on windows (#109) 2018-03-31 17:33:02 +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
60ac2b675b Opti: hide aidou by default. You still can enable it in user preferences. 2018-03-27 22:48:54 +08:00
Felix Häusler
a115a0df7b Fix css and table dialog style (#73) 2018-03-24 18:50:41 +08:00
Jocs
fdd22a893d Opti: can set color independently in dark and light theme 2018-03-23 22:56:48 +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
301722f3d3 change logo: special thanks to @Yasujizr 2018-03-22 01:32:10 +08:00
Jocs
11c01b186a feature: add logger #52 2018-03-22 01:10:10 +08:00
Jocs
39f5400544 feat: user preference and fix issues #45 #16 2018-03-21 17:11:18 +08:00
Jocs
cb6eec76e0 fix: set theme to all the open window not just the active one. 2018-03-20 23:15:30 +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
207c31a477 bugfix: little bug in typewriter mode 2018-03-20 16:20:02 +08:00
Jocs
b1b5420d61 Opti: update style of ag-gray 2018-03-20 14:34:35 +08:00
Jocs
11d67c083e opti: change the image text color and letter space 2018-03-07 22:34:19 +08:00