Commit Graph

76 Commits

Author SHA1 Message Date
Ran Luo
d308b51fa1
feat: Remove aidou (#2889)
* feat: Remove aidou

* fix: dead key
2022-01-16 23:10:20 +08:00
Jefferey Neuffer
0954f70d71
Add zoom persistence (#2858) 2022-01-11 19:32:43 +01:00
Felix Häusler
2b53a414f9
Add support for relative image directory (#2439) 2020-12-23 23:24:27 +01:00
Felix Häusler
19eab7d1fc
Add option to disable HTML rendering (#2414) 2020-12-17 23:19:22 +01:00
Felix Häusler
5bb7856cb4
Add GitLab math block support (#2119) 2020-06-04 01:31:21 +02:00
He Linming
3103aee8ed
A task checked should update related task (#1737)
* A task checked should update related task

* Improve code quality

* feat: add a option for autoCheck

* refactor: put autoCheck in Editor part

* refactor: refactor some functions and methods

1. fix autoCheck was not passed to the editor
2. put getParentCheckBox and cumputeChecboxStatus functions in utils folder.
3. put setCheckBoxState, updateParentsCheckBoxState, updateChildrenCheckBoxState
   and listItemCheckBoxClick methods in clickCtrl.js file.
2020-02-11 21:46:24 +08:00
He Linming
3f2e3340b6 feat: word wrap in TOC (#1811)
* feat: word wrap in TOC

close #1772

* rename wordWrap to wordWrapInToc
2019-12-27 22:08:03 +08:00
Simon Holmberg
e3f0df7375 Add setting for sequence diagram theme (#1628) (#1708)
* Add setting for sequence diagram theme (#1628)

* Review fixes
2019-12-02 10:59:17 +08:00
Felix Häusler
4f8d0c1a93
Support final newline options (#1595)
* Support final newline options

* Fix docs and add command
2019-11-06 18:52:47 +01:00
jocs
4726553a34 fix conflict 2019-11-03 10:58:13 +08:00
Felix Häusler
09f920eade
Upgrade to Electron 7 (#1543)
* Upgrade to Electron 7

* Fix E2E test issue with Electron 7

* Fix native theme event

* Remove runtime native theme detection

* Update Electron to v7.0.1

* Fix keytar exception
2019-11-02 16:41:51 +01:00
罗冉
a028a7c2bb feat: add code block line numbers 2019-11-01 17:24:18 +08:00
罗冉
318bfc6aa2 feat: add footnote setting option 2019-10-29 18:36:16 +08:00
Ran Luo
8e32838b8a Feature: support markdown extension superscript and subscript (#1531)
* Feature: support markdown extension superscript and subscript

* Update readme file

* Fix: theme setting error

* fix issue in comment

* Fix some typo
2019-10-26 17:15:49 +02:00
Ran Luo
a4b4a7a847
Feat: add user preference whether hide the link popup (#1504) 2019-10-21 10:42:05 +08:00
Felix Häusler
603ed04ab1 Add experimental spellchecker (#1424)
* Experimental spellchecker for testing purpose

* Fix 'apache' license validation

* Use local electron-spellchecker for development

* Add settings and bug fixes

* Fix Hunspell switchLanguage bug and improvements

* Fix attach to editor when enabling spell check again

* Add Hunspell license

* Copy default Huspell dictionary on first start

* Fix full language name

* Some code improvements

* Allow to add words to user dict and  bug fixes

* Allow to change Muya's spellcheck container attribute

* feat: Don't underline misspelled words

* Allow to set Hunspell on macOS

* Fix spellchecker changed value

* Refactor switchLanguage, init and enableSpellchecker

* Refactor and some fixes

* Code improvements

* electron-spellchecker cleanup and optimization

* Disable automatic language detection for Hunspell

* Fix init on macOS and update JSDoc

* Fix macOS issues and some improvements

* Load single settings value only

* Fix rebase

* Remove debug code

* Move electron-spellchecker to scoped npm repo

* Fix dictionary of ignored words on macOS

* Move replaceWordInline to core API

* Remove comment block

* Fix upstream lint error
2019-10-17 15:54:09 +08:00
Felix Häusler
4a24ff0954 Add file encoding support (#1438)
* Add file encoding support

* Update documentation
2019-10-06 08:45:55 +08:00
Ran Luo
fab1c62fde Fix issue 1378 (#1405)
* Feat: add trimUnnecessaryEmptyLine setting option

* remove debug code

* Fix: tpro and remove debug codes

* rename trimUnnecessaryEmptyLine to trimUnnecessaryCodeBlockEmptyLines
2019-10-05 14:54:34 +02:00
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