Commit Graph

72 Commits

Author SHA1 Message Date
Zeng1998
026fb3e50e
fix: markdown support in blockquote (#1394) 2023-03-21 22:38:38 +08:00
远浅
2ba0dbf50b
refactor: use function findMatchingParser to reduce duplicate code (#1367)
* refactor: Use function findMatchingParser to reduce duplicate code

* chore: declare type Parser
2023-03-17 20:46:07 +08:00
boojack
f86816fea2
feat: use react-hot-toast (#1321) 2023-03-09 08:54:14 +08:00
Baptiste Roux
93609ca731
fix: update markdown hyperlink regex (#1315)
* fix: Update markdown hyperlink regex

* chore(lint): Remove unnecessary escape character
2023-03-08 23:22:16 +08:00
远浅
54374bca05
fix: missing prop key (#1291) 2023-03-06 19:12:50 +08:00
boojack
c6d43581f9
revert: Fix: Markdown hyperlinks with parenthesis take first closing parenthesis as final (#1251)
Revert "fix: Markdown hyperlinks with parenthesis take first closing parenthesis as final (#1213)"

This reverts commit 1b0629bf0f.
2023-03-04 20:54:14 +08:00
boojack
dd625d8edc
chore: update links reference (#1243) 2023-03-04 15:06:01 +08:00
Jason Shawn D' Souza
1b0629bf0f
fix: Markdown hyperlinks with parenthesis take first closing parenthesis as final (#1213)
Updating regex to pick up edge case with parentheses
2023-03-01 22:43:13 +08:00
Stephen Zhou
d6fe180ca1
fix: parse chrome or edge urls in plain link (#1034)
fix: parse chrome or urls in plain link
2023-02-07 20:10:13 +08:00
Stephen Zhou
42cd93cf33
fix: show copy button on hover (#1002) 2023-01-31 18:38:58 +08:00
boojack
b19c3c6db3
feat: update renderer in list (#935) 2023-01-12 08:52:57 +08:00
boojack
4b860777cf
fix: tag generate in code block (#925) 2023-01-08 13:49:26 +08:00
boojack
e29924c8a1
fix: codeblock renderer (#924) 2023-01-08 11:24:28 +08:00
boojack
1847756ade
chore: remove escape (#918) 2023-01-07 14:52:47 +08:00
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
b6f19ca093
feat: upsert tag based content (#816)
* feat: upsert tag based content

* chore: update
2022-12-22 00:35:47 +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
Zeng1998
5f3cade810
feat: highlight the searched text in memo content (#514)
* feat: highlight the searched text in memo content

* update

* update

* update

* update

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-11-25 21:59:21 +08: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
Steven
749486ba3c chore: update marked tests 2022-10-15 21:57:56 +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
b959acc69d fix: update marked test cases 2022-10-04 14:35:07 +08:00