Commit Graph

950 Commits

Author SHA1 Message Date
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
Felix Häusler
6479928168
Add markdown document icon for macOS and Windows (#915) 2019-04-16 20:06:57 +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
Felix Häusler
f5995a24dc
fix continuous integration (#936) 2019-04-13 18:27:32 +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
d1aefbde47 update contribution guide (#931) 2019-04-13 15:00:19 +02:00
Alexander Misel
99848431bd Fix typo - recommend (#935) 2019-04-13 11:40:47 +08:00
Felix Häusler
5ab688a52f
release v0.14.0 (#930) 2019-04-12 19:51:30 +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
e78bc8036c v0.14.0 release candidate 1 (#880) 2019-04-06 06:57:12 +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
9dcba58a23 Update documentation [ci skip] (#874) 2019-04-06 00:03:48 +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
Felix Häusler
c590977c09 Update Flathub metadata (#861) 2019-04-04 09:11:08 +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
罗冉
2bd52d06e0 update sponsor qordoba logo and link 2019-04-03 13:26:54 +08:00
Felix Häusler
e6e97ba529 Improve watcher RegEx (#846) 2019-04-03 10:52:49 +08:00