Commit graph

37 commits

Author SHA1 Message Date
boojack
771c56f485
chore: fix renderer (#917) 2023-01-07 14:07:17 +08:00
boojack
0f8ce3dd16
refactor: return jsx element instead of string in marked (#910)
* refactor: return jsx element instead of string in marked

* chore: update
2023-01-07 00:13:49 +08:00
Zeng1998
92a8a4ac0c
feat: support code copy (#901)
* feat: support code copy

* update
2023-01-03 23:05:00 +08:00
boojack
7670c95360
chore: fix XSS in renderer (#880) 2022-12-31 11:52:57 +08:00
boojack
64e5c343c5
chore: fix XSS in renderer (#875)
chore: fix xss in renderer
2022-12-29 23:27:56 +08:00
boojack
65cc19c12e
chore: add escape to prevent XSS (#833) 2022-12-23 19:17:33 +08:00
boojack
72daa4e1d6
feat: support heading syntax (#827) 2022-12-22 19:48:19 +08:00
boojack
ab07c91d42
feat: update marked (#810) 2022-12-21 18:36:26 +08:00
boojack
c177db69d5
chore: update tag regexp (#785) 2022-12-20 09:44:41 +08:00
M. Gschwandtner
334da5e903
fix: add a span as wrapper to fix whitespace (#747) 2022-12-15 08:45:20 +08:00
boojack
66418d4210
feat: get image only when cors error (#721) 2022-12-10 13:20:48 +08:00
boojack
56716cdad4
fix: break word (#708)
* fix: break word

* chore: update
2022-12-09 08:31:45 +08:00
boojack
1ea74dfd0d
chore: remove table syntax (#669) 2022-12-04 10:52:11 +08:00
boojack
b04e001db1
fix: image url host missing (#623) 2022-11-28 19:52:03 +08:00
Zeng1998
54271c1598
chore: fix some typos (#587) 2022-11-26 06:23:29 +00:00
Tiefseemonster
495f1f2041
chore: fix name field in paragraph parser obj (#564) 2022-11-25 01:47:17 +00:00
boojack
abcd3cfafb
feat: add Strikethrough syntax (#557)
feat: add `Strikethrough` rule
2022-11-24 20:05:51 +08:00
boojack
2d49e96a8a
feat: get image blob in backend (#495)
* feat: get image blob in backend

* chore: update
2022-11-19 18:43:56 +08:00
Stephen Zhou
797accbc2c
feat: parser for horizontal rule (#477)
* feat: parser for horizontal rule

* chore: revert
2022-11-15 21:56:44 +08:00
boojack
66f9bc48bb
chore: remove mark memo (#476) 2022-11-15 21:22:08 +08:00
Mahoo Huang
67195859dc
fix: abnormal link regex (#474) 2022-11-15 21:15:10 +08:00
boojack
9866702850
fix: parser regexp for special character (#439) 2022-11-10 20:38:14 +08:00
Mahoo Huang
a1068b6fe3
fix: abnormal blockquote regexp (#404)
```markdown
面向具体实现编程 ==> 面向抽象接口编程
```.
面向具体实现编程 ==
> 面向抽象接口编程
2022-11-02 20:33:25 +08:00
boojack
7c401040c8
feat: add blockquote regexp (#366) 2022-10-29 10:14:53 +00:00
boojack
0b34b142c8
chore: update marked (#325) 2022-10-21 09:13:19 +08:00
boojack
0b2a9d8511
fix: bold and emphasis regex (#323)
* fix: bold and emphasis regex

* chore: udpate
2022-10-20 21:57:40 +08:00
winwin2011
180ae206c7
feat: inline code within link (#321)
* feat: inline code with link

* fix: decoration style
2022-10-20 21:21:30 +08:00
Hyoban
26aae0e637
fix: blank line after table (#298) 2022-10-15 17:51:17 +08:00
Hyoban
3d0c6004c0
feat: support markdown table (#294)
* feat: support markdown table

* chore: update table style

* test: for markdown table parse
2022-10-15 11:42:04 +08:00
Steven
cc759bef56 fix: handle highlight unknown language error 2022-10-15 06:11:17 +08:00
boojack
086b10717f
feat: upload files by dropping (#292) 2022-10-14 22:59:30 +08:00
boojack
eefd0444c8
feat: add highlight for code block (#291)
* feat: add highlight for code block

* chore: update test
2022-10-14 22:29:28 +08:00
steven
486cf8bdac feat: add escape to renderer 2022-10-04 13:53:36 +08:00
boojack
eaf89aa2f2
feat: update marked parsers (#260)
* chore: remove external match functions

* chore: update parsers
2022-10-04 10:44:16 +08:00
steven
7b29c65f58 feat: add inline-code syntax parser 2022-10-03 19:51:54 +08:00
boojack
222c792539
fix: tag regexp (#253) 2022-10-02 23:12:06 +08:00
boojack
51fb8ddb07
feat: simple markdown parser (#252)
* feat: simple markdown parser

* chore: rename test file name

* feat: add plain text link parser

* chore: update style
2022-10-02 22:49:30 +08:00