Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
Felix Häusler
7c5a6143b9 fix: broken relative image sources when exporting (#761) 2019-03-17 17:44:26 +08:00
Ran Luo
fd3daf4e51
fix: #752 (#758)
* fix: #752

* fix typo
2019-03-13 00:12:52 +08: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
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
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
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
Ran Luo
39e1ea8081
Prism replace codemirror (#516)
* feat: basic use of code block by prism

* opti: remove codemirror from muya

* feat: add highlight to math and frontmatter

* feat: import and export in math block, html block, frontmatter, code block

* update: paragraph ctrl

* feat: copy and paste in new math block and html block

* feat: update code block style in dark theme

* feat: search and replace in code block

* fix: update menu item status when selection changed

* opti: optimization of updateCtrl divide it into clickCtrl and inputCtrl

* opti: search and replace in code block when no lang selected

* opti: copy paste in code block

* feat: insert paragraph before or after code block

* opti: change emoji.js to emoji.json

* feat: auto indent in code block

* opti: auto indent in code block

* opti: remove the use of snabbdom-virtualize

* fix: do not show format float box in code block

* opti: emoji picker

* update: delete some unused codes

* update: electron

* use a temp prismjs2 instead of prismjs
2018-10-23 21:21:58 +08:00
Jocs
0c770bb403 opti: remove unused dependence cheerio 2018-10-18 11:07:59 +08:00
Jocs
ecfcf32378 opti: rewrite markdown to state and remove lib parse5 2018-10-17 23:10:53 +08:00
Jocs
b68b30af4b opti: optimization some codes 2018-10-17 19:05:19 +08:00
jocs
6736b8d57f fix(#431): broken math expression 2018-09-27 21:03:39 +08:00
Jocs
78ec06c3cd fix: YAML frontmatter duplicates a new line on each opening of the file #494 2018-09-20 21:03:59 +08:00
Felix Häusler
7801c43f2e fix: #441 #451 empty list item has no paragraph (#456) 2018-08-12 19:54:16 +08:00
Ran Luo
405d04ce19
package and release muya (#413) 2018-07-07 00:10:30 +08:00