Felix Häusler
a68fb82eb3
Fix portable directory path ( #1403 )
2019-09-30 15:40:18 +02:00
Ran Luo
c0e141053c
Opti: save the uploader setting before set as default uploader ( #1399 )
2019-09-30 09:02:56 +08:00
Ran Luo
91515242d4
fix : #1249 ( #1400 )
2019-09-30 00:29:03 +02:00
Ran Luo
8e47088260
Fix #1391 side bar can not be scrolled ( #1398 )
2019-09-30 00:24:33 +02:00
Ran Luo
7a6b0ac5cc
Fix: exception when deleting code block indentifier ( #1384 )
...
* Fix: exception when deleting code block indentifier
* Fix can not delete code block identifier
2019-09-30 00:21:37 +02:00
Felix Häusler
81af159030
Allow custom fonts ( #1394 )
...
* Allow custom fonts
* Filter out empty fonts
2019-09-30 00:16:41 +02:00
Felix Häusler
517fe37c26
Fix portable directory path
2019-09-28 16:48:10 +02:00
Ran Luo
0baf2e9e85
Fix : #1390 prevent XSS attack
2019-09-28 16:48:10 +02:00
Felix Häusler
dee8bb6f5b
Fix recommend title exception when heading contains spaces only ( #1281 )
2019-09-28 16:48:10 +02:00
Felix Häusler
6fae5654c5
Add system emoji fallback fonts ( #1348 )
2019-09-28 16:48:10 +02:00
Felix Häusler
593deb3dbe
fix : #1284 ( #1287 )
2019-09-28 16:48:10 +02:00
Felix Häusler
132048d5f9
fix : #1382 portable application data directory
2019-09-28 16:48:10 +02:00
Ran Luo
7de33f11f5
Fix : #1390 prevent XSS attack ( #1393 )
2019-09-28 15:09:06 +02:00
Felix Häusler
f266a5d9fc
fix: 1382 portable application data directory ( #1395 )
2019-09-28 09:13:52 +08:00
Ran Luo
8e7a445735
fix #1135 ( #1387 )
2019-09-28 09:04:29 +08:00
Felix Häusler
056cdf0c08
Markedjs rebase ( #1380 )
...
* Fix breaks: true marked#1507
* Fix <em> issue with mixed content marked#1451
* Fix headings marked#1511
* Link parenthesis marked#1509
* Sanitize hardening marked#1504
* relative baseUrl marked#1526
* remove substitutions marked#1532
* Update documentation
* Use marked.js heading regex
2019-09-27 19:53:44 +02:00
Felix Häusler
067ec48547
fix : #1271 HTML paste handler ( #1388 )
2019-09-27 19:27:24 +02:00
Felix Häusler
b386630d3c
Add per-tab notifications ( #1377 )
...
* Add per-tab notifications
* fix: file watcher depth on macOS
* Free array reference
2019-09-27 19:25:42 +02:00
Felix Häusler
1cac5dbe52
fix : #1349 wrong save all tab order ( #1370 )
...
* fix wrong save all tab order
* fix : #1278
2019-09-27 19:25:22 +02:00
Ran Luo
2930cdc052
fix #1297 ( #1302 )
...
* fix #1297
* Add comment and label the solved issue
2019-09-27 10:43:56 +08:00
Ran Luo
1eb79083fa
Fix : #1265 ( #1373 )
2019-09-26 23:47:11 +08:00
Ran Luo
1fef2c6ee8
Fix : #1267 ( #1372 )
2019-09-26 17:36:45 +02:00
Ran Luo
d45663105b
fix : #1336 ( #1365 )
...
* fix : #1336
* fix : #1366
2019-09-25 10:39:40 +08:00
Ran Luo
d9b77366e8
fix #1324 ( #1364 )
2019-09-24 20:24:38 +02:00
Ran Luo
20220f6b5f
Support paste urls from Firefox and others ( #1363 )
2019-09-24 20:21:00 +02:00
Felix Häusler
8c1865f650
Reorder font settings ( #1362 )
2019-09-24 20:20:20 +02:00
Ran Luo
1ef0d016a2
Feat: add link tooks: unlink and jump ( #1357 )
2019-09-24 11:23:51 +08:00
Felix Häusler
e0fb779f3e
fix : #1145 ( #1360 )
2019-09-24 00:34:44 +08:00
Felix Häusler
6418496fe9
Fix main process exception due null access ( #1350 )
2019-09-24 00:03:37 +08:00
Felix Häusler
a4cd93a8cd
Add system emoji fallback fonts ( #1348 )
2019-09-23 17:15:07 +02:00
Ran Luo
b4f9f44a9b
Optimization inline image ( #1347 )
...
* fix: Hide all float box and image transformer when context click
* fix: image need to have unique id
* feat: support copy,cut and paste selected image
* link to creator
* Feat: prevent drag image
* fix : #1313
* Fix: enter to edit selected image
2019-09-23 11:36:41 +08:00
Ran Luo
46b5aad976
Opti: init loading page ( #1339 )
2019-09-19 18:24:06 +08:00
Ran Luo
6ab75845e8
Opti image ( #1345 )
...
* Feature: size image
* Support edit and delete image
* render img tag by image render component
* Fix: can not recognize pencent symbal in img src
* Feat: align image
* Feat: align image
* add tooltip of image toolbar
* Update html tag regexp
* Fix: wrong class name
* Feat: resize image
* Some bug fix
* Fix: image loading status
* Fix: backspace error in image selector
* Remove: unused codes
* Add download event
* Opti: image
* Opti: style of transformer
* fix: do not treat one image html block as html block
* Fix: parse src and title error
* remove debug codes
2019-09-18 19:01:50 +08:00
Ran Luo
141d25d896
Feat: parse page title when paste a link ( #1344 )
2019-09-17 16:15:33 +08:00
Ran Luo
d26f509209
Feature: resize image and toggle inline and block image ( #1335 )
...
* Feature: size image
* Support edit and delete image
* render img tag by image render component
* Fix: can not recognize pencent symbal in img src
* Feat: align image
* Feat: align image
* add tooltip of image toolbar
* Update html tag regexp
* Fix: wrong class name
* Feat: resize image
* Some bug fix
* Fix: image loading status
* Fix: backspace error in image selector
* Remove: unused codes
* Add download event
2019-09-17 16:15:00 +08:00
Ran Luo
435dca7483
feat: search image by unsplash ( #1333 )
2019-09-11 11:34:33 +08:00
Ran Luo
a4f5269beb
fix: update paragraph menu item task list
error ( #1330 )
...
* fix: update paragraph menu item `task list` error
* Update exportStyleHTML api
* Update escapeText, because Safari do not support ?>! in reg
2019-09-11 11:33:25 +08:00
Yansongsongsong
c52431cb92
Feat: github uploader can customize branch( #1328 ) ( #1328 )
2019-09-11 11:32:06 +08:00
Ran Luo
3ac2c888b2
remove debug codes ( #1326 )
2019-09-06 15:19:09 +08:00
Ran Luo
e8efca0eeb
fix: inline image backspace error ( #1325 )
...
* fix: inline image backspace error
* Do not show buttons when image is uploading
2019-09-06 15:16:19 +08:00
Ran Luo
9fecc68261
Opti: inline-image style ( #1322 )
2019-09-05 11:17:19 +08:00
Ran Luo
cb7be189cc
Feat: Support inline image and small image ( #1318 )
2019-09-03 22:56:46 +08:00
Ran Luo
e25f5d8540
Update: update dialog API to Electron 6.0 ( #1317 )
2019-09-02 21:46:51 +08:00
Ran Luo
96909e23a9
Opti: correct url when there are pair brackets in link url or image src ( #1308 )
2019-09-02 18:49:56 +08:00
Ilias Ismanalijev
ab5068ea25
Search shows open folder warning, no results text and errors ( #1312 )
...
* Show messages in search
- Open folder prompt
- No result found
- Errors
* search message section use divs, refactor template
2019-09-02 18:07:46 +08:00
Ilias Ismanalijev
437cb23ed8
Search input now searches on keypress ( #1307 )
2019-09-01 18:33:39 +08:00
Ran Luo
fbbb600d7e
Opti: add loading page when init page ( #1303 )
2019-09-01 09:57:58 +08:00
Ran Luo
761c499eae
Fix: prevent parse a url ( #1301 )
2019-09-01 09:56:36 +08:00
Ran Luo
46371f8c56
Update Babel to 7.x.x ( #1253 )
...
* update deps
* update babel
* add babel-runtime
* update config file
* update config file
* modify config
* modify some codes
* update some dependences
* Update allowed licenses validate
2019-09-01 03:30:01 +08:00
Ran Luo
ac3617dd7c
fix: vega lite render error ( #1295 )
2019-08-28 13:23:32 +08:00
Felix Häusler
96f3f7341b
fix : #1284 ( #1287 )
2019-08-19 19:10:57 +08:00
Felix Häusler
1ab8388c1d
Cycle through tabs ( #1283 )
...
* Cycle through tabs
* Add cycle backwards alias
2019-08-19 19:06:27 +08:00
Felix Häusler
225d30bd90
Close tab by mouse middle click ( #1282 )
2019-08-19 18:50:27 +08:00
Felix Häusler
15f8c7b2c5
Fix recommend title exception when heading contains spaces only ( #1281 )
2019-08-19 18:49:52 +08:00
Felix Häusler
04480e08ae
fix : #1254 alt accelerator on Linux and Windows ( #1262 )
2019-08-14 10:49:05 +08:00
Ran Luo
1c489f095e
remove unnecessary attrs ( #1241 )
2019-08-06 16:41:11 +02:00
Felix Häusler
e2bac53e66
Improve updatable packages detection ( #1230 )
2019-08-04 22:51:50 +08:00
Ran Luo
ac0566762e
fix : #1136 ( #1222 )
...
* fix : #1136
* fix: negated lookbehind
2019-08-04 15:21:58 +02:00
Ran Luo
af8593a4ce
fix : #1226 ( #1227 )
2019-08-04 15:20:30 +02:00
Ran Luo
c9d7eae952
opti: optimization of paste ( #1229 )
2019-08-04 15:17:12 +02:00
Ran Luo
da53d9323e
fix : #961 ( #1220 )
...
* fix : #961
* add TODO
2019-08-04 15:17:01 +02:00
Ran Luo
ee7095f1cc
fix : #1208 ( #1217 )
...
* fix : #1208
* modify the shortcut of inline math
2019-07-31 20:28:21 +02:00
Ran Luo
f4e93016e3
fix : #1209 ( #1214 )
2019-07-31 18:47:10 +02:00
Ran Luo
45fa4743ce
fix : #1205 ( #1216 )
2019-07-31 18:44:11 +02:00
Ran Luo
728ae36652
fix : #1203 ( #1215 )
2019-08-01 00:14:53 +08:00
Ran Luo
ffc01dd270
opti: put the format box at the center of selection ( #1213 )
2019-07-31 17:57:03 +02:00
Ran Luo
761ff169b0
fix : #1181 reset TOC after close the last tab ( #1200 )
2019-07-31 17:54:23 +02:00
Escape0707
669918bda2
Fix typos reported by #1199 ( #1210 )
...
* Update index.vue
* Update config.js
2019-07-31 14:19:54 +08:00
Ran Luo
72c9d94b14
fix : #1191 and remove hover status ( #1197 )
2019-07-29 00:01:30 +08:00
Ran Luo
e79b33f337
fix : #1190 ( #1196 )
2019-07-28 23:50:09 +08:00
Ran Luo
1811b689ba
Support copy&paste raw HTML ( #1091 )
...
* remove some unused ele when copy
* reserve ruby tag
* fix : #997
2019-07-26 11:28:47 +08:00
Ran Luo
57af830482
fix : #1169 ( #1170 )
2019-07-26 11:28:29 +08:00
Felix Häusler
aa0e491f1d
Validate uploader services ( #1183 )
2019-07-26 11:18:58 +08:00
Ran Luo
4a1d5651c6
fix white screen when search in setting window ( #1180 )
2019-07-26 11:18:22 +08:00
Ran Luo
48d6128e8e
fix: runtime error when click bellow the last paragraph ( #1179 )
2019-07-26 11:18:04 +08:00
Ran Luo
e7d11ff801
emit crashed event when editor is no longer editable ( #1178 )
2019-07-26 11:17:43 +08:00
Ran Luo
edbab6edc3
fix: unexpected delete all content when input Chinese ( #1177 )
2019-07-26 11:17:25 +08:00
Ran Luo
75c043a649
fix: lint error ( #1176 )
2019-07-25 02:28:48 +08:00
Felix Häusler
2686cfafe4
Update deps and automatically format style ( #1168 )
2019-07-24 10:57:21 +08:00
Ran Luo
afe688911a
feat: add click delete url to clipboard when upload image to SMMS ( #1173 )
2019-07-23 20:25:17 +02:00
Ran Luo
cea87da5d1
rebase marked #1515 ( #1172 )
2019-07-23 20:19:55 +02:00
Ran Luo
1a4844f889
fix: history operation(undo/redo) will not emit change events ( #1161 )
...
* fix: history operation(undo/redo) will not emit selection change and format change etc
* delete all content need emit changes event
2019-07-23 13:06:10 +08:00
Ran Luo
179f3d3355
Optimization search ( #1138 )
...
* add search results
* replace icons in sidebar
* feat: click setting icon to open setting window
* remove some ununsed codes
* fix : #1120
2019-07-23 11:21:14 +08:00
Ran Luo
37c4961ba5
opti: remove all content if selct all content ( #1163 )
2019-07-22 17:22:33 +02:00
Ran Luo
b925f7d637
fix: cut not work on mobile devices ( #1162 )
2019-07-22 17:22:24 +02:00
Ran Luo
be74673ad7
fix : #1158 ( #1159 )
2019-07-22 17:21:46 +02:00
Ran Luo
c2711eb846
fix : #1156 ( #1157 )
2019-07-22 17:16:26 +02:00
Ran Luo
c7a2735604
fix : #929 ( #1122 )
...
* fix: unexpected remove paragraph content when input by Chinese IME on Safari browser
* emit change event only when not composed and selection changed
* add some comments
* fix : #929
* dispatch change event after Enter event
* remove some codes
2019-07-22 17:14:53 +02:00
Ran Luo
7b7a942483
fix: should not nest math block into other math block ( #1153 )
2019-07-16 09:57:43 +08:00
Ran Luo
67e15b1642
fix : #1151 ( #1152 )
2019-07-16 00:25:38 +02:00
Ran Luo
b19ff4c212
fix-#1147 ( #1148 )
2019-07-16 00:25:28 +02:00
Ran Luo
04fead0165
update asios and fix #1121 ( #1133 )
...
* update asios and fix #1121
* remove unused codes
2019-07-04 11:14:15 +08:00
Felix Häusler
5f08b381e0
Adjust titlebar title when using native window ( #1137 )
...
* Adjust titlebar title when using native window
* Fix untitled tab e2e test
2019-07-04 10:52:51 +08:00
Ran Luo
9d458cf504
fix: screenshot error ( #1126 )
2019-07-04 10:46:54 +08:00
Alchemy
12958401af
delete image triggers muya change ( #1125 )
2019-06-30 12:41:05 +08: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
edf01b2e96
Opt-in uploader services and add legal notices ( #1113 )
...
* Opt-in uploader services and add legal notices
* Fix style
2019-06-20 16:22:26 +08:00
Ran Luo
67e1817688
fix: Enter multiple lines in Chinese ( #1117 )
2019-06-20 10:45:22 +08:00
Ran Luo
ee05052bc5
opti: table border color ( #1116 )
2019-06-18 17:39:40 +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
Ran Luo
47da3bd193
fix : #813 ( #1111 )
...
* fix : #813
* add one more para of exportHtml.generate
* remove debug codes
2019-06-16 15:38:14 +02:00
Ran Luo
165e8985b0
fix-#1037 ( #1112 )
2019-06-15 16:12:54 +02:00
Felix Häusler
0de196cc65
add: auto save with delay ( #1093 )
2019-06-14 22:16:19 +08:00
Felix Häusler
ddc99aa00e
refactor: main filesystem code ( #1104 )
2019-06-13 21:23:09 +02:00
Ran Luo
b42b7fe9d7
fix : #1100 and #1101 ( #1102 )
...
* fix : #1100
* fix : #1101
2019-06-11 23:08:45 +02:00
Ran Luo
80e6a05acc
Opti: image icon style ( #1098 )
2019-06-11 23:08:11 +02:00
Felix Häusler
b6d6b9fe74
fix watcher out of range exception ( #1095 )
2019-06-11 11:09:21 +08:00
Ran Luo
d838042543
feat: scroll to cursor when switch between tabs ( #1089 )
2019-06-10 18:41:24 +02:00
Ran Luo
d924b58623
fix : #752 ( #1090 )
2019-06-10 18:23:50 +02:00
Ran Luo
de17a920a8
Opti: update TOC if needed ( #1088 )
2019-06-10 18:23:23 +02:00
Ran Luo
7413c569f6
fix: TOC level error ( #1087 )
2019-06-09 16:22:41 +02:00
Ran Luo
ccccd6881d
Fix : #1045 can not select all content in source code mode ( #1085 )
2019-06-09 15:44:39 +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
164e9a1d87
fix: insert image by image uploader, but can not copy and paste, because it is render the local url ( #1070 )
2019-06-07 12:31:18 +08:00
Ran Luo
d937fac09b
fix: parse inline syntax error ( #1072 )
2019-06-06 21:49:49 +02:00
Ran Luo
2bfc3d59fe
opti: insert last paragraph when the last block is table, code block or no-empty paragraph ( #1069 )
2019-06-06 21:44:10 +02:00
Ran Luo
f9d9061d9f
opti: style of float box ( #1067 )
2019-06-06 21:26:20 +02:00
Felix Häusler
4dada5b84d
Drop support for portable Windows binary ( #1065 )
...
* Dropped support for portable Windows binary
* Update documentation
2019-06-05 21:39:23 +02:00
Ran Luo
bf39ae0e24
fix: unable to open link ( #1063 )
2019-06-04 17:07:53 +02:00
Ran Luo
446cec573f
opti icon color in light theme ( #1062 )
2019-06-04 17:05:56 +02:00
Ran Luo
0cfe79fb07
fix : #1046 ( #1048 )
2019-05-29 00:04:40 +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
5b1cd85d95
fix : #1018 paste error when the lastblock is html block ( #1042 )
2019-05-25 16:20:07 +02:00
Ran Luo
d06bf6db9d
opti: add katex css only when there is math fomular in export html ( #1038 )
2019-05-23 21:15:59 +02:00
Ran Luo
9eff8248b4
feat: add two event focus and blur of muya ( #1039 )
2019-05-23 21:09:38 +02:00
Ran Luo
8474a997b0
feat: support prism language alias ( #1031 )
2019-05-22 21:54:31 +08:00
Ran Luo
a7de21b4a3
opti: put the cursor in bracket after you select link took ( #1032 )
2019-05-22 21:54:11 +08:00
Felix Häusler
4840c7b646
Update dependencies ( #1024 )
2019-05-16 09:32:49 +08:00
Ran Luo
8891287bed
fix paragraph turn into list bug ( #1025 )
...
* fix paragraph turn into list bug
* fix heading style error in list item
* update delete icon
2019-05-13 18:05:39 +02:00
Ran Luo
7dab078a4c
fix: toc content vanish bug ( #1021 )
2019-05-12 17:54:36 +02:00
Felix Häusler
cb3bb6a1ae
Update titlebar hover color and remove main listeners ( #1020 )
2019-05-10 21:26:10 +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
Ran Luo
a74a17118a
fix : #1001 ( #1014 )
2019-05-09 01:00:26 +08:00
Felix Häusler
980dc8a797
add 'Noto Color Emoji' as default emoji fallback font on Linux ( #1009 )
2019-05-08 09:26:32 +08:00
Ran Luo
7dee1a4135
update prismjs ( #1012 )
...
* update prismjs
* update language.json
2019-05-08 00:13:08 +02:00
Felix Häusler
f45ec9d525
use fallback menu ( #1008 )
2019-05-07 22:17:58 +08:00
Ken Chen
68be52a87d
fix : #438 to sort files in folder ( #1005 )
...
* fix : #438 to sort files in folder
* Change to use localeCompare as per review
2019-05-05 17:23:01 +02:00
Ran Luo
230c90c920
container block preview and inline syntax error ( #992 )
...
* opti: container block preview
* remove unused codes
* rewrite createBlock method
* remove ag-line classname
* just push codes
* hand enter + shift in paragraph
* update import markdown and export markdown
* update part updateCtrl
* update indent code block
* auto indent when press shift + enter
* update thematic break
* update inline syntax update reg
* update list and task list
* update atx heading and setext heading
* update paragraph
* update block quote
* adjust cursor in heading
* update codes
* paragraph turn into feature check
* check copy paste
* update turn into
* fix: delete last # error
* fix: turn setext heading to atx heading error
* fix: delete thematic break error
* paste and copy
* workarond turndown to support soft line break
* fix: unable create table
* modify export markdown
* modify test markdown
* fix: cursor error when update blockquote
* readd cursor check when dispatch changes
* fix: inline math create a lot extra char
* add code cache clear after each render
* fallback to prismjs2
2019-05-04 23:41:46 +08:00
Felix Häusler
77ff23c2c8
refactor main source code ( #1006 )
...
* refactor main source code
* fix invalid file cache entries during startup
2019-05-04 22:14:45 +08:00
Ran Luo
b7d51e0d6c
Opti: emoji picker style and fix missing emoji error ( #985 )
...
* opti: emoji picker style
* fix: emoji render error
* update emoji regexp
* update emoji.json to latest version
2019-05-03 00:00:23 +02:00
Felix Häusler
620df2ee69
add tab scrolling and drag&drop ( #953 )
...
* add tab scrolling and drag&drop
* fix tab maximal width without side bar
* use dragula instead of vue-draggable
* Update changelog
* fix issues with maximal side bar width
If the side bar is resized more than 50vw then issues occur because the
commited width is not limited to 50vw or if the window is resized.
* reordered tabs after dropping and some improvements
2019-04-28 20:02:05 +02:00
Felix Häusler
3b9c16779d
fix : #878 select existing tab ( #986 )
2019-04-29 01:23:42 +08:00
Felix Häusler
1ab1e853f4
fix source-code background color ( #987 )
2019-04-29 01:20:50 +08:00
Felix Häusler
21d09706a7
fix: shortcuts and menus without id not longer work ( #984 )
2019-04-27 19:45:46 +02:00
Ran Luo
a6d97abab7
fix : #980 shortcut error ( #981 )
2019-04-27 18:14:21 +02:00
Ran Luo
e6676b5f64
fix: link style error ( #979 )
2019-04-28 00:13:40 +08:00
Ran Luo
d4e051ed5e
arrow down will not show the # marker of header ( #978 )
...
* arrow down will not show the # marker of header
* add comments and update changelog
2019-04-27 18:10:35 +02:00
Ran Luo
9c2f6cb319
fix : #974 inline math style optimization ( #977 )
...
* fix : #974
* update changelog
2019-04-27 18:03:40 +02:00
Ran Luo
f3b534275a
feat: jump cursor to the end to format ( #976 )
...
* feat: jump cursor to the end to format
* update changelog
2019-04-27 17:53:58 +02:00
Ran Luo
379290e93e
update prismjs2 to prismjs@1.16.0 ( #975 )
...
* update prismjs2 to prismjs@1.16.0
* upgrade other deps
2019-04-27 17:22:49 +02:00
Ran Luo
372fe02f23
fix : #870 list parse error ( #964 )
...
* fix : #870 list parse error
* remove semiclon
* add more comments
* rename isTaskListItem to isTaskList
2019-04-27 17:16:38 +02:00
Felix Häusler
c20cdc6213
fix dark theme colors ( #973 )
2019-04-27 07:52:39 +08:00
Ran Luo
d71647fc9a
opti: style in editor ( #969 )
...
* opti: style in editor
* change float box shadow
* add border to float box
* little code opti
* opti image style
* update style
* change code block bg color
* fix: update style
* opti codes
2019-04-26 22:33:29 +02:00
Ran Luo
a900b7f2ef
optimization of cursor, and fix some cursor related issues ( #963 )
...
* optimization of cursor, and fix some cursor related issues
* remove duplicate codes
2019-04-23 23:45:43 +08:00
Ran Luo
c4664546bd
fix: whole selection can not be canceled ( #962 )
...
* fix: whole selection can not be canceled
* add null check in clickCtrl
2019-04-23 23:41:55 +08:00
Ran Luo
57cd04c50f
fix: commonmark example 475 and related failed examples ( #957 )
...
* fix: commonmark example 475 failed
* fix some strong and em commonmark examples failed test
* remove some debug code
* fix: cm example 353
* fix: cm example 387
* remove ununsed codes
* use \s to replace unicode whitespace array
* fix 3 atx heading examples
* fix setext heading failed examples and image alt examples
* fix: example 520 and 521
2019-04-19 07:51:33 +08:00
Ran Luo
f4f5ba3e00
add commonmark spec and gfm spec test and compare with markedjs ( #943 )
...
* add commonmark spec and gfm spec test and compare with markedjs
* ignore .env
* fix: load lang multiple times
* add eslint disable
* add `math`, `emoji`, `frontMatter` options to marked
* fix: commonmark example 223
* fix: import markdown error
* fix: commonmark example 7
* fix: commonmark example 40
* update test result
* update changelog
* update loose test regexp
* remove unused comments
2019-04-17 15:29:00 +02:00
Ran Luo
ef9fe7566a
feat: add underline format ( #946 )
...
* feat: add underline format
* update doc
* add support superscript and subscript in format menu
2019-04-16 20:15:02 +02:00
Ran Luo
0bc96c2436
fix : #926 summary element can not be click ( #948 )
2019-04-15 23:25:34 +08:00
Ran Luo
d9f64bab58
fix : #921 reference link render error ( #947 )
2019-04-15 16:54:13 +02:00
Ran Luo
991441190d
Fix remove content bug ( #937 )
...
* add dotenv to set environment variable
* fix : #934
* fix : #938
* update codes
2019-04-15 16:39:28 +02:00
Ran Luo
444a8d73f7
update front matter icon ( #933 )
2019-04-13 15:04:35 +02:00
Ran Luo
09aa23ebeb
Update Spec from 0.28 to 0.28 in comments and menus ( #932 )
2019-04-13 15:01:05 +02:00
Ran Luo
8b04b4c34a
Diagram ( #914 )
...
* add theme support of diagram
* add init mermaidTheme and vegaTheme when init muya
* export diagram
* update changelog
* add delete icon
* replace table toolbar icon to png
* replace icons in fromt menu and quick insert
* update format icons to png
* add theme support of diagram
* add init mermaidTheme and vegaTheme when init muya
* export diagram
* update changelog
* add delete icon
* replace table toolbar icon to png
* replace icons in fromt menu and quick insert
* update format icons to png
* update front icon hover color
* adjust format box icon size
* prevent some warning and rerender after change from source code
* remove debug code and replace image icon
2019-04-13 00:40:23 +08:00
Ran Luo
47cb2bbe40
feat: support create indent code block ( #920 )
...
* feat: support create indent code block
* update changelog
2019-04-12 18:02:28 +02:00
Ran Luo
52237bfe74
fix: code block backspace error and task list error ( #919 )
...
* fix: code block backspace error
* fix : #738 remove task list item error
* debug codes
* remove cross-env
* fix comment issue
2019-04-12 17:57:54 +02:00
Felix Häusler
d7eccc005b
fix: warning condition ( #927 )
2019-04-12 23:37:57 +08:00
Ran Luo
048340323d
fix list indent by tab ( #908 )
2019-04-12 22:51:31 +08:00
Ran Luo
ad5ddbf994
fix: GFM example 558 ( #917 )
2019-04-12 22:46:45 +08:00
Felix Häusler
02841ffdf9
fix: subsequent list paragraphs ( #916 )
2019-04-12 08:08:43 +08:00
Felix Häusler
8951879b52
fix: markdown image url ( #911 )
2019-04-11 21:58:14 +08:00
Ran Luo
ef59a74380
feat: support copy rich text ( #904 )
...
* feat: support copy rich text
* update changelog
2019-04-11 09:28:04 +08:00
Ran Luo
6203eb2759
Fix unable duplicate html and deprecate the html delete icon button ( #910 )
...
* deprecated delete icon button above the html block, because we already have front menu
* remove some unused codes
* fix: unable copy html block
2019-04-10 23:03:47 +02:00
Felix Häusler
1c4ec7cae4
add list indentation settings ( #900 )
2019-04-10 22:43:21 +08:00
Felix Häusler
2e50b62d99
Set dark theme when first saving ( #901 )
2019-04-10 22:42:15 +08:00
Felix Häusler
960b065a88
ignore key events if cursor is not set ( #906 )
2019-04-10 22:41:40 +08:00
Ran Luo
82d4c74f62
fix : #893 #892 #897 ( #896 )
...
* fix : #893 #892
* update change log
* update checkNotSameTokens
* fix error when delete at the end of inline math or ruby tag
2019-04-09 23:14:52 +02:00
Ran Luo
c0f333d9a2
fix: code highlight error when open file contains code block ( #891 )
...
* fix: code highlight error when open file contains code block
* some typo error
* some style change
2019-04-09 23:11:45 +02:00
罗冉
749af381f1
Merge branch 'master' of github.com:marktext/marktext
2019-04-09 11:09:58 +08:00
罗冉
e3582297c2
update offical website address
2019-04-09 11:09:43 +08:00
Felix Häusler
c35395a8f8
fix: vscode debugging configuration ( #889 )
2019-04-09 01:19:03 +08:00
Ran Luo
4e918503f4
feat: add front menu ( #875 )
...
* feat: add front menu
* update changelog
* feat: add short cut of paragraph edit
* fix location bug of submenu
* update checkbox style in editor
* update selected background color
* update KEYBINDINGS.md
* Bullet to ordered list issue:
* emit change event after control paragraph
* fix: marked parse error
* disable table, front-matter and horizontal line in paragraph turn into, and fixed paragraph turn into html and math
* fix unwanted space before text paragraph when heading turn into text paragraph
* fix error when turn heading to paragraph
* put front menu on the left on front icon
* update readme
* if the selection span in two lnes, disable paragraph turn into heading
2019-04-07 16:16:49 +02:00
Ran Luo
962fdf356f
fix: Emoji offset in heading ( #883 )
2019-04-06 16:25:42 +08:00
Ran Luo
26c823d11e
fix unecessary cache token ( #884 )
2019-04-06 09:45:41 +02:00
Felix Häusler
d12f4fab19
fix: source code mode tab switching ( #881 )
2019-04-06 14:50:40 +08:00
Felix Häusler
b0ae437ba4
fix: paragraphCtrl cursor may be null ( #855 )
2019-04-06 06:52:48 +08:00
Felix Häusler
30a1423d02
fix: emoji picker icon color ( #879 )
2019-04-06 06:50:29 +08:00
Ran Luo
60ab6bdcf0
remove list style color ( #871 )
...
* remove list style color
* remove unused codes
2019-04-06 01:55:55 +08:00
Felix Häusler
916c96c5df
Update markedjs ( #873 )
2019-04-06 00:01:40 +08:00
Ran Luo
fd11862188
Layout editor and cursor disappear bug ( #869 )
...
* some style in editor changed
* opti: the display of header
* fix Cursor disappear when use arrow down/up switch between headers #867
* add a add_close svg icon
2019-04-06 00:00:09 +08:00
Ran Luo
02dbb8affa
fix search error in nest block ( #872 )
2019-04-05 17:20:40 +02:00
Ran Luo
41def3782a
fix image not loaded in inline html ( #863 )
2019-04-04 23:22:22 +08:00
Ran Luo
a2786b13d2
fix : #857 #854 ( #864 )
2019-04-04 23:22:04 +08:00
Ran Luo
5d748eb196
support ruby and better raw html display ( #849 )
...
* support ruby and better raw html display
* finish ruby render
* add kbd style
* if content is empty string, do not hide tag
* update changelog
* add auto complement to inline html
* opti slit words
* opti tool bar style
* support open inline a tag if it is a external link
* fix: auto complete
* add attribute white list
* add comment
* delete some commented codes
2019-04-03 20:31:34 +02:00
Felix Häusler
f226f87dcb
improve task list style ( #853 )
2019-04-04 01:18:04 +08:00
Felix Häusler
aa59e8a0ca
fix: input style in side bar ( #852 )
2019-04-04 00:34:51 +08:00
Felix Häusler
e6e97ba529
Improve watcher RegEx ( #846 )
2019-04-03 10:52:49 +08:00
Felix Häusler
c5852252aa
fix: Linux rename syscall when using side bar ( #845 )
2019-04-03 10:36:27 +08:00
Ran Luo
5f191681b7
fix list parse error in block quote ( #840 )
...
* fix list parse error in block quote
* remove debug codes
* add test unit of blockquote
* remove failed test unit
2019-04-02 12:06:11 +02:00
Felix Häusler
847cb23a2d
fix: blockquote list item font color ( #843 )
2019-04-01 08:40:41 +08:00
Andrew Rabert
3f381c4b89
Fix grammar ( #844 )
2019-04-01 08:38:44 +08:00
Ran Luo
739d31aa66
fix #625 ( #799 )
...
* style opti
* fix #625
* update changelog
* fix error when selection in not in edit area
* also fix double click front icon and error happen
* fix error when click front icons and toolbars of table
* rebase master
* update some codes
* null check in all selection.getCursorRange method
* add maskColor variable
* update roadmap, remove note features
2019-03-31 13:06:27 +02:00
Felix Häusler
c1d02d13d1
Titlebar workaround for #339 ( #818 )
...
* Titlebar workaround for #339
* Limit tab width to 280px
2019-03-31 13:02:55 +02: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
Ran Luo
70d49c30e1
fix recognize -foo
as list item ( #832 )
...
* style opti
* fix recognize `-foo` as list item
* update changelog
* update block.item regexp
2019-03-31 01:24:01 +08:00
Felix Häusler
be3ea4b0ce
fix: watch rename syscall on Linux ( #816 )
2019-03-31 01:23:19 +08:00
Felix Häusler
b4784e83c5
Update license and add third-party licenses ( #835 )
2019-03-30 22:15:51 +08:00
Ran Luo
1448ded9f9
Show a cursor pointer when mouse in on link or img ( #834 )
...
* style opti
* fix #825 export wrong pdf
* show cursor pointer when mouse is on link or img and CmdOrCtrl is pressed
* revert the first commit
2019-03-29 22:20:06 +01:00
Ran Luo
4c3da0c298
little optimization of copy paste ( #833 )
2019-03-29 22:15:31 +01:00
Ran Luo
73a4abd7bb
fix #707 ( #829 )
...
* style opti
* fix #707
* update changelog
* fix : #831
* add checkSameMarkerOrDelimiter
* update selection color
* update some codes
* add a todo comment
2019-03-29 09:01:16 +08:00
Ran Luo
f00da15213
fix: insert table into table
, html
, code
, math
block will cau… ( #812 )
...
* fix: insert table into `table`, `html`, `code`, `math` block will cause wrong markdown syntax
* fix table style color
* add comments
2019-03-28 17:48:43 +01:00
Ran Luo
a5b80d9794
Fix image picker icon path ( #824 )
...
* fix: image picker icon is not shown after package
* update table,folder and upload icon
* fix: filter bug in quick insert
* fix: image path
* add floatshadow color
2019-03-28 21:53:24 +08:00
Felix Häusler
a5ba4a375f
workaround: disable printing due Electron issue(s) ( #828 )
2019-03-28 20:35:47 +08:00
Felix Häusler
5732b8f162
fix: hamburger menu offset ( #827 )
2019-03-28 20:30:50 +08:00
Ran Luo
3fa4b03b71
fix table context menu ( #820 )
2019-03-28 20:28:37 +08:00
Ran Luo
8bc429a71b
no need to auto pair when the pre char is backlash ( #821 )
2019-03-28 13:18:42 +01:00
Ran Luo
be660320e7
fix : #769 ( #787 )
...
* style opti
* fix : #769
* remove debug code
* rewrite set inline emoji.
* fix padding error in emoji
* remove padding of emoji picker
2019-03-27 19:59:21 +08:00
Felix Häusler
270d33f6c8
fix: update list item lexer and parser ( #803 )
...
* fix: CommonMark 264
* fix: muya list behavior
2019-03-27 19:51:46 +08:00
Ran Luo
a41f751f2f
update or notice file changed on disk ( #796 )
...
* update or notice file changed on disk
* update changelog
* fix some typo and optimize some codes
2019-03-26 13:40:51 +01:00
Marco Westerhof
499a3cd36b
fix: small typo ( #811 )
2019-03-26 17:45:21 +08:00
Felix Häusler
ec5993a3a1
Hide renderer errors in official binaries and show one notification only ( #808 )
2019-03-26 08:53:48 +08:00
Felix Häusler
ed9757fe36
Hide control buttions in fullscreen ( #809 )
2019-03-25 16:52:41 +01:00
Ran Luo
13d8e7830e
fix : #586 #740 ( #798 )
...
* fix : #586
* fix : #740
* seperate math syntax from to GFM rules
* update style
* little style change
* update image and iamge fail icon
2019-03-25 23:14:32 +08:00
Felix Häusler
f115b7ea41
Add symbolic link support ( #802 )
...
* Allow symbolic links
* Update changelog
2019-03-25 23:11:57 +08:00
Felix Häusler
94066706f5
fix: relative images are not loaded after closing a tab ( #810 )
2019-03-25 22:57:18 +08:00
Ran Luo
c6def5a726
fix: render error when render front icon ( #806 )
2019-03-25 15:54:35 +01:00
Felix Häusler
ef2b12603b
fix: set cursor in source code mode ( #805 )
2019-03-25 22:08:29 +08:00
Ran Luo
2389332e42
update: electron and dayjs ( #801 )
...
* update: electron and dayjs
* update useage of dayjs
* rm yarn-error.log
2019-03-25 12:03:45 +08:00
Ran Luo
347a1dfe45
feat: front icon prepare for click menu ( #779 )
...
* feat: front icon prepare for click menu
* fix: not cursor pointer on front icon button
* hide arrow and pointer cursor
2019-03-25 00:28:49 +01:00
Ran Luo
a395982faa
fix : #432 ( #800 )
...
* fix : #432
* update change log
* update changelog
2019-03-25 00:05:04 +01:00
Felix Häusler
741bc50ea3
Update markedjs ( #770 )
...
* Update markedjs
* Update changelog
2019-03-24 21:04:26 +08:00
Felix Häusler
de29043086
fix: tab switch exception due invalid cursor ( #792 )
2019-03-24 20:58:46 +08:00
Ran Luo
c0c8ea4b15
feat: open external link and local markdown file ( #790 )
...
* feat: open external link and local markdown file
* image view
* browse image by CmdOrCtrl + click
* use esc to close image viewer
* change image viewer z-index to prevent math render show on top of it
* support windows and linux
2019-03-24 13:20:43 +01:00
Ran Luo
e1cfec6e3e
opti: rewrite TOC and remove hard code theme ( #778 )
...
* opti: prevent the duplicated header text error
* scroll error in toc
* delay the change event when init muya, so that the change event listener can handle change event.
* opti: style
* almost finished need last check
* style in table
* clear up some unused codes
* clear up theme hard code
* add no search data picture and new Folder new File
* move search and replace to top of editor
* add: no data image when there is no TOC
* update structure
* little bug fix
* update styles
* update un_draw icons
* update style of editor
* add animation when make open folder collapse.
* remove theme props in editor component, deprecated lightColor and darkColor
* add Ulysses Light
* theme: graphite
* update Ulysses blockquote
* update emoji style
* update titleBar height
* change theme color
* Support macOs dark mode
* update style of tooltip in editor
* update styles
* fix: TOC auto expand all
* patch added
2019-03-24 05:09:00 +08:00
Ran Luo
07d0bbb249
fix : #679 ( #788 )
2019-03-24 05:06:39 +08:00
Ran Luo
7936e3f4ba
fix #636 selection can not be canceled ( #786 )
2019-03-24 05:01:35 +08:00
Ran Luo
54004025e0
fix : #782 ( #789 )
2019-03-23 19:55:14 +01:00
Ran Luo
5f2c889e05
fix : #754 ( #759 )
...
* fix : #754
* update regexp
2019-03-21 21:26:32 +01:00
Ran Luo
8030956579
update all muya icons ( #775 )
...
* update icons
* add format math icon
* remove opacity of delete icon
2019-03-19 15:39:36 +08:00
Ran Luo
93055587b2
fix #760 ( #774 )
2019-03-19 15:21:04 +08:00
Ran Luo
70cea33d78
update: icon path ( #771 )
...
* update: icon path
* update icon path
2019-03-19 15:19:16 +08:00
Ran Luo
c332e71f69
fix : #705 ( #714 )
...
* fix : #705
* remove debug codes
* fix nested list and multiple paragraphs
2019-03-17 17:51:20 +08:00
Felix Häusler
ebe929619a
fix: open files in current window ( #762 )
...
* fix: open files in current window
* fix: open drag&drag also in new tab if specified
2019-03-17 17:49:34 +08:00
Felix Häusler
7c5a6143b9
fix: broken relative image sources when exporting ( #761 )
2019-03-17 17:44:26 +08:00
Felix Häusler
eff54dcaa1
fix: sidebar tree view ( #764 )
2019-03-17 17:39:00 +08:00
Felix Häusler
c47795e4ba
fix: XSS and Electron vulnerability ( #765 )
...
* fix(security): XSS when exporting
* fix(security): Electron security vulnerability
2019-03-14 02:06:57 +08:00
Ran Luo
fd3daf4e51
fix : #752 ( #758 )
...
* fix : #752
* fix typo
2019-03-13 00:12:52 +08:00
Ran Luo
c1351dab7d
narrow the width of edit area ( #750 )
...
* narrow the width of edit area
* change source edit area width
2019-03-12 16:56:02 +01:00
Ran Luo
1fd335853f
update quick insert icons ( #746 )
2019-03-11 18:50:08 +01:00
Marco Westerhof
6d608d16c3
fix small typo ( #745 )
2019-03-11 21:45:28 +08:00
Ran Luo
0a3efbf88e
fix: 622 text selection ( #743 )
2019-03-09 19:29:56 +01:00
Ran Luo
6639bb9ba8
fix #659 allow width and height attributes in img tag ( #742 )
...
* fix #659
* valid width and height attributes of img tag
* remove debug codes
2019-03-09 19:11:42 +01:00
Ran Luo
dec7502ebe
Feat setextheading ( #741 )
...
* suport sutext heading input
* fix : #708
* fix: unrecognize horizontal line syntax
2019-03-09 14:13:42 +01:00
Ran Luo
2c87af7f2f
update pageage.json, add maintainer ( #733 )
...
* update pageage.json, add maintainer
* update dep
* feat: opti quick insert
* update quick insert icon
* update pageage.json, add maintainer
* update dep
* feat: opti quick insert
* update quick insert icon
* add windows support
* fix #576
2019-03-09 12:51:55 +01:00
Felix Häusler
8f73940e2e
Fix tab change in source code mode ( #737 )
2019-03-08 21:30:02 +08:00
Ran Luo
9d5f3ae496
fix #710 automatically wrap code block lines when printing ( #725 )
2019-03-08 12:55:03 +01:00
Felix Häusler
e668aeb350
Always add files to recently used document list ( #736 )
2019-03-08 02:32:52 +08:00
木士羽
519f82451a
Add support for recently used directory ( #718 )
2019-03-07 17:38:32 +01:00
Felix Häusler
cbd90bfeb4
User-defined open files ( #735 )
2019-03-07 22:59:40 +08:00
Felix Häusler
44c537a62c
Initialize editor when loading a folder and show default tab ( #729 )
2019-03-07 22:35:16 +08:00
Marco Westerhof
b4c23d1f02
fix small typo ( #734 )
2019-03-07 22:20:13 +08:00
Felix Häusler
a803cf4ab5
Fix titlebar null property during initialization ( #726 )
2019-03-07 08:28:44 +08:00
Ran Luo
1c42555a10
fix : #671 allow pasting multiline text into a heading ( #719 )
2019-03-06 19:33:20 +01:00
Felix Häusler
9af9111d31
Fix Windows path separator in tree view ( #728 )
2019-03-06 22:44:21 +08:00
Felix Häusler
e94131b342
Fix recommended filename/title ( #727 )
2019-03-06 10:34:23 +08:00
Ran Luo
4880af4dad
Fix #684 ( #723 )
...
* fix: auto focus language input field when create code block by quick insert or menu
* fix: active language input field by arrow up and down
2019-03-05 23:34:14 +08:00
Ran Luo
a758a2e9a2
opti: better auto pair ( #722 )
...
* opti: better auto pair
* fix error in deleteContentForward
2019-03-05 16:32:21 +01:00
Ran Luo
60275d89b3
fix : #666 show tooltip on document info hover ( #717 )
...
* fix : #666
2019-03-04 22:21:22 +01:00
Felix Häusler
9a16361c1b
Partial rebase from markedjs ( #701 )
...
* markedjs#1239, markedjs#1262: Escapedpipes
* markedjs#1303: add hard line break when backslash at EOL
* markedjs#1135: update the list of markdown escapes, per commonmark
* markedjs#1224: fix unsafe heading regex
* markedjs#1023: new blockquote rule: match any paragraph-like content up to next line
* markedjs#1245: GFM table compliance
* markedjs#1013, markedjs#1181 fix backticks in inline code and em
* markedjs#1351: fix emphasis closing by single _
* markedjs#1034: make autolinks compliant
* markedjs#1387: fix language identifier parsing
* Restore table escape characters
2019-03-04 20:26:21 +08:00
Felix Häusler
359387a390
User-defined titlebar settings ( #721 )
2019-03-04 10:57:31 +08:00
Ran Luo
62633c498e
fix : #629 ( #720 )
2019-03-03 21:05:51 +01:00
Ran Luo
240d64aa55
fix : #706 combine lists of different type ( #716 )
2019-03-03 21:05:39 +01:00
Ran Luo
4278362f82
fix : #673 disable autocompletion in inline math ( #715 )
2019-03-03 21:04:37 +01:00
Ran Luo
39e0e683a9
fix : #672 style error in list item ( #713 )
2019-03-02 15:57:01 +01:00
Ran Luo
437e0b0951
fix: Unable to insert text into a table cell ( #702 )
...
fix#670
2019-03-02 11:44:14 +01:00
Felix Häusler
4647a53111
Add compile time version information ( #695 )
2019-02-28 23:03:55 +08:00
Felix Häusler
7aa723b9e7
Add XSS e2e test and fix error handler issue ( #700 )
2019-02-27 22:16:47 +08:00
N-McA
5157b6a462
Add Inline Math to formatting menus ( #649 )
...
* remove the unused variable CLASS_OR_ID from domManipulate.js
* add inline math to the formatting menus, and as CtrlorCmd-M
* add color to the math icon when format is applied
* skip the delimiting characters for math and code and del
* skip the delimiting characters for math and code and del
* Update zh_cn.md (#653 )
* Update zh_cn.md
* Update zh_cn.md
* Add Markdown MimeType (#648 )
* Add Markdown MimeType
XDG Desktop components will identify this program as a Markdown editor
* Add mimetype to package.json
* Removing old Mime
* Explicitly define security guidelines (#652 )
* Adjust inline math font (#657 )
* add inline math to the formatting menus, and as CtrlorCmd-M
* add color to the math icon when format is applied
* skip the delimiting characters for math and code and del
* skip the delimiting characters for math and code and del
* remove clash with macos minimise by ensuring ctrl-m for inline math
* combine the two conditionals
* fix trailing spaces
2019-02-27 19:19:29 +08:00
Felix Häusler
a55fc94db7
Fix undefined language id when exporting a code block ( #591 ) ( #677 )
2019-02-08 00:32:44 +08:00
Felix Häusler
47946739eb
backport: Spellchecker minor bug fixes ( #651 )
...
* Experimental spellchecker backport
* Normalize path
2019-02-01 22:32:08 +08:00
Felix Häusler
543ec07e72
Adjust inline math font ( #657 )
2019-01-25 13:57:24 +08:00
Felix Häusler
e9a8b6e281
Explicitly define security guidelines ( #652 )
2019-01-24 23:23:42 +08:00
jocs
c169a7704e
update: delete unused codes
2019-01-15 10:25:59 +08:00
jocs
d5eb560435
delete some unused codes
2019-01-14 21:47:03 +08:00
Ran Luo
81af43be93
feat: add hide quick insert hint option ( #638 )
2019-01-07 22:25:18 +08:00
Felix Häusler
790448ae5f
Allow custom fonts and improve side bar ( #626 )
2018-12-25 18:52:51 +08:00
Felix Häusler
a2a0363541
Add production source maps ( #610 )
...
* Add production source maps
* Increase mocha timeout
2018-12-20 17:09:16 +08:00
Felix Häusler
9e32c4a0ca
fix #564 move cursor in next table cell at index 0 ( #611 )
...
* fix #564 move cursor in next table cell at index 0
* WORKAROUND: undefined macOS application title on startup
2018-12-18 21:47:44 +08:00
Ran Luo
dbe8d28a2f
update: remove some unused code ( #607 )
2018-12-17 10:44:10 +08:00
Felix Häusler
2ce05829d7
Fix tests and improve CI ( #590 )
...
* Fix tests and improve CI
* Add xvfb to Linux - still problems with Mocha e2e tests
* Disable Webpack Bundle Analyzer for testing
* Use preinstalled yarn application on AppVeyor
* Fix build failure with latest vue version
* Remove "markdown-toc"
* Fix application title unit test
* Hide electron window during unit tests
* Add basic muya unit tests
* Dirty markdown-toc replacement
* Update dependencies
* Update eslint packages and configuration
2018-12-17 10:29:37 +08:00
Felix Häusler
fa394be978
Fix build failure with latest vue version ( #605 )
2018-12-13 21:58:52 +08:00
Felix Häusler
638f65e4ea
Respect existing image title if no source is specified ( #599 )
2018-12-10 00:27:02 +08:00
Felix Häusler
a77b9ab6f1
Allow pasting text into the code block language text-box ( #598 )
2018-12-09 11:25:00 +08:00
Felix Häusler
7ebb04d48e
Prevent enter key as language identifier ( #597 )
2018-12-09 11:01:33 +08:00
Felix Häusler
6ec0a215ac
Fix multiple print service bugs ( #594 )
...
* Fix print service
* Fix printing
* Optimize CSS style and remove deprecated code
2018-12-06 21:01:33 +08:00
Felix Häusler
a556f59b21
Remove PDF background color ( #589 )
2018-12-04 10:19:55 +08:00
Felix Häusler
1b270b960e
Fix dark preview box background color ( #588 )
2018-12-04 10:12:11 +08:00
Felix Häusler
02fb2f0b4f
Add git commit to error handler ( #579 )
2018-11-30 22:07:40 +08:00
Felix Häusler
6a96a46fdb
Add exception handler ( #565 )
2018-11-27 22:59:13 +08:00
jocs
6293d40814
fix : #572 and update some deps
2018-11-25 10:29:29 +08:00
jocs
00242115a9
fix : #570 #571
2018-11-22 21:03:09 +08:00
jocs
dd0cfb15da
style: optimization
2018-11-20 21:41:05 +08:00
jocs
73319d978e
opti: use element-resize-detector to instead of ResizeObserver
2018-11-20 17:52:00 +08:00
Ran Luo
dc96c13060
fix : #563 ( #567 )
...
* fix : #563
* change isMacOs TO isOsx
2018-11-20 10:34:00 +08:00
Felix Häusler
387d42822d
Fix virtual key mapping on non-QWERTY layouts ( #561 )
...
* Fix wrong virtual key mapping
* Update npm dependencies
2018-11-16 08:59:47 +08:00
jocs
8a7e65599d
fix: compose bug
2018-11-15 14:40:12 +08:00
jocs
9a9e00b813
fix : #541
2018-11-15 08:58:58 +08:00
jocs
3d1fbeb879
fix : #558 can not input multiple empty lines
2018-11-13 22:45:44 +08:00
jocs
092857073d
fix: unecessary inputHandler
2018-11-13 21:15:40 +08:00
jocs
eb9b3b8437
fix: copy paste bug in list
2018-11-13 21:08:15 +08:00
Felix Häusler
d0c4763e7e
Fix sidebar and tabbar won't toggle ( #557 )
2018-11-12 21:09:34 +08:00
Felix Häusler
4789c7b119
Fix dark theme format box style ( #556 )
2018-11-12 21:07:36 +08:00
Felix Häusler
7623377432
Improve sidebar and tab design ( #555 )
2018-11-12 21:06:36 +08:00
jocs
275cd12800
opti: hide vega-embed
2018-11-12 11:19:47 +08:00
jocs
8af866fcd8
fix: the image path float box icon disappeared in build version
2018-11-11 21:40:55 +08:00
jocs
0e90d8a929
fix: hide image float box if needed
2018-11-11 12:42:57 +08:00
jocs
25f141f93b
fix: image path float box show and hide
2018-11-11 11:58:55 +08:00
jocs
5c5a4fa9ae
fix: paste need to update paragraph
2018-11-10 22:52:15 +08:00
jocs
8412412f2a
fix: nest list error
2018-11-10 19:45:30 +08:00
jocs
8dcd4d118d
fix : #509
2018-11-10 11:53:07 +08:00
jocs
c004b7300d
fix: keyup need check for render
2018-11-09 19:18:05 +08:00
jocs
968b538acf
opti: make UI components to plugins, disable spellcheck
2018-11-08 22:44:45 +08:00
Felix Häusler
72ef20edd8
Don't show save dialog for an empty/not changed document ( #548 )
...
* Don't show save dialog for an empty document
* Fix blank document was always encoded as LF
2018-11-07 21:50:10 +08:00
jocs
2e133e21e0
fix : #546
2018-11-07 20:27:53 +08:00
Felix Häusler
79ee58ef7e
Update changelog ( #547 )
2018-11-07 10:38:49 +08:00
Felix Häusler
5339ef6bb4
Fix keybinding issues ( #543 )
...
* Fix keybinding issues
* Check for duplicate accelerators
* Allow to unset menu accelerators
* Disable AppVeyor to reconfigure later
AppVeyor is currently not in use. We have to enable it and configure.
* Update documentation
* Update documentation [ci skip]
2018-11-07 00:16:50 +08:00
jocs
7b5fb770d0
fix : #544
2018-11-05 23:56:34 +08:00
jocs
adc7b3b5e5
delete debug codes
2018-11-05 23:14:37 +08:00
jocs
41dd6db301
fix : #541
2018-11-05 23:13:37 +08:00
jocs
f3198ae1e4
fix: inline format error when use shift
and arrow key
to select words
2018-11-04 20:36:43 +08:00
Felix Häusler
2ecc2e36f2
Revert "Workaround: Ctrl+Alt shortcut on Windows ( #526 )" ( #540 )
...
This reverts commit a1853cf73e
.
2018-11-03 00:36:23 +08:00
Felix Häusler
63b33aa32f
fix : #535 Application menu is not updated when switching windows ( #539 )
...
* fix : #535 Menu is not updated when switching windows
* Improve new file/tab UX
* Synchronize menu items after update
* Remoe debug code
2018-11-03 00:17:21 +08:00
jocs
91b514c5e1
update: hide some newly features
2018-11-02 22:06:14 +08:00
Ran Luo
55092ff15d
[WIP] Support Diagram ( #529 )
...
* feat: basic use of mermaid
* feat: add flowchart dep
* feat: handle flowchart render error
* feat: edit sequence diagram
* feat: support vega-lite
* fix : #534
* feat: basic use of mermaid
* feat: add flowchart dep
* feat: handle flowchart render error
* feat: edit sequence diagram
* feat: support vega-lite
* feat: copy paste and import and export of diagram
* finish
* fix : #537
* update: dependence
2018-11-01 22:42:34 +08:00
Jocs
f43504b2d0
fix : #534
2018-10-31 10:22:26 +08:00
Jocs
cdc9c6c8ab
release version 0.13.53
2018-10-28 19:03:56 +08:00
Felix Häusler
a1853cf73e
Workaround: Ctrl+Alt shortcut on Windows ( #526 )
2018-10-28 19:00:19 +08:00
jocs
d28511914c
fix : #521
2018-10-27 17:55:04 +08:00
jocs
19d261eb5d
fix : #520
2018-10-26 18:49:35 +08:00
Jocs
ee8743dc66
opti: delete some ununsed codes
2018-10-26 00:31:57 +08:00
Jocs
d42edac8eb
fix : #451 empty list item error
2018-10-25 22:00:51 +08:00
Jocs
f0c691ea98
fix : #522 paste bug when paste into empty line
2018-10-25 21:19:12 +08:00
jocs
fc8a69e6af
typo error
2018-10-25 08:23:09 +08:00
jocs
8335598916
fix: escap error in language input
2018-10-24 21:10:50 +08:00
jocs
6fd3608a77
fix: composed error when input Chinese
2018-10-24 20:56:11 +08:00
jocs
4825ac53b7
fix: search in markup code block
2018-10-24 20:19:24 +08:00
Jocs
7494bb3223
opti: rewrite check is edit language input
2018-10-24 10:37:41 +08:00
jocs
49cab6dc11
fix: do not show language picker in code block
2018-10-24 00:27:55 +08:00
jocs
d127c3f4cb
fix : #517
2018-10-23 23:10:56 +08:00
jocs
ed1f23d173
fix: copy and paste error in code block
2018-10-23 22:51:24 +08:00