Commit graph

65 commits

Author SHA1 Message Date
marihachi
49941cd9ba
リンクラベル関係の変更 (#107)
* fix link label matching

* 🚀
* add syntax rules of link label
* fix #104
* remove unnecessary applyParser() call
2022-05-12 20:31:29 +09:00
marihachi
d9b8b8db5f
quoteのネスト制限を追加 (#91)
* refactor quote

* add nesting limit test for quote

* nesting limit for quote
2022-01-10 13:40:37 +09:00
marihachi
6aaa34403a fix bug of link label parsing 2022-01-09 18:21:57 +09:00
marihachi
93895b8a01
Introduce nesting limit (#87)
* support fnDepthLimit

* fix parse option

* rename fnDepthLimit to nestLimit

* support limit nesting: big, bold, small, italic, strike

* improve mention

* fix hashtag

* support limit nesting: hashtag

* support limit nesting: url

* refine link label

* refactor

* fix link

* change default value of nestLimit

* fix link label

* add test

* restore and modify test
2022-01-06 01:05:37 +09:00
marihachi
051e903d43 add test 2021-10-17 14:33:22 +09:00
marihachi
ffe1e3ffca add test 2021-10-17 14:25:59 +09:00
marihachi
d037c2780a
linkノードのurlプロパティを修正 (#84)
* add test

* fix bug
2021-10-14 20:24:13 +09:00
marihachi
00e89d23d7
Supports white list for function syntax (#77)
* support name list for FN syntax

* use default parameter

Co-authored-by: Johann150 <johann.galle@protonmail.com>

Co-authored-by: Johann150 <johann.galle@protonmail.com>
2021-10-02 09:26:56 +09:00
marihachi
703f82215d
remove fn v1 syntax (#79) 2021-10-01 22:05:11 +09:00
Johann150
3857b03faf
add bold and strikethrough tag (#76) 2021-09-30 00:39:14 +09:00
Johann150
e6af8bc92a
hashtag can not include XML tags (#74) 2021-08-28 19:03:01 +09:00
syuilo
e0ca4931e6 Revert "understand other URL schemes too (#73)"
This reverts commit a7315926ab.
2021-08-24 11:58:19 +09:00
Johann150
a7315926ab
understand other URL schemes too (#73) 2021-08-19 10:19:23 +09:00
syuilo
9287a3b5b9 Introduce api-extractor and lint 2021-07-31 15:12:43 +09:00
syuilo
047474831b add test 2021-07-23 11:24:04 +09:00
marihachi
4c20bcb053 add brackets property of url node 2021-07-22 20:58:27 +09:00
syuilo
3d3032aa71 Introduce coverage integration 2021-06-26 23:48:46 +09:00
syuilo
faacf34ba0 Add link test 2021-06-26 23:16:09 +09:00
marihachi
985d24b4bd add quote test 2021-06-12 12:53:11 +09:00
syuilo
d423915f06 Add mathInline test 2021-06-07 23:27:45 +09:00
syuilo
ba9b937d8f Add strike test 2021-06-06 23:54:51 +09:00
syuilo
294e7a5574 Add PlainParser tests 2021-06-05 16:46:54 +09:00
syuilo
87cb008c26 Add hashtag tests 2021-06-05 16:34:38 +09:00
syuilo
3a5732ce7d Add code block tests 2021-06-05 16:23:49 +09:00
syuilo
5e7f17427b Add inlineCode tests 2021-06-05 16:21:22 +09:00
syuilo
916ee3e012 Add link tests 2021-06-05 16:17:56 +09:00
syuilo
1ee9f95396 Add url tests 2021-06-05 15:56:23 +09:00
marihachi
2b68b59c2a Revert "disable nest tests"
This reverts commit 4eec75ad39.
2021-06-05 15:42:06 +09:00
marihachi
ebef52cf33 update test 2021-05-07 00:28:24 +09:00
marihachi
4eec75ad39 disable nest tests 2021-04-24 13:32:55 +09:00
marihachi
152b947044 fix test 2021-04-19 10:27:06 +09:00
marihachi
627a516cc9 Parser: implement fn syntax (version 2) 2021-04-18 14:38:15 +09:00
marihachi
e67d14b813 resolve #46 2021-04-17 15:35:07 +09:00
marihachi
be39aab80d inspect API accept a single node. 2021-04-17 11:34:32 +09:00
marihachi
5ff959c790 add test 2021-04-15 16:53:55 +09:00
marihachi
7f353dab51 improve mention 2021-04-15 15:51:08 +09:00
marihachi
2030fd3537 add test 2021-04-15 15:14:21 +09:00
marihachi
6ac576b748 improve hashtag detection (#43) 2021-04-15 15:14:21 +09:00
marihachi
96bc7205e2 fix bug of #42 2021-04-15 00:03:09 +09:00
marihachi
10e50dd8fa modify(api): change the function signature of extract API 2021-04-10 19:56:26 +09:00
marihachi
cbb00a5a66 export node generation macros. 2021-04-10 18:09:44 +09:00
marihachi
33c0b6c960 biyo 2021-04-10 17:31:29 +09:00
marihachi
72d85e79dd update parser test 2021-04-03 21:34:08 +09:00
marihachi
b12feb0917 update test utility 2021-04-03 21:23:32 +09:00
syuilo
fbaeed930e refactor(test): テストを分割 2021-04-03 21:04:53 +09:00
marihachi
a53071dd71 update test 2021-04-03 18:08:32 +09:00
marihachi
0ecd1de57c parses the link in the link node as text node. 2021-04-03 15:44:33 +09:00
syuilo
5ab1b26171 test: add link test 2021-04-03 12:43:34 +09:00
syuilo
f28c9ed86f test: add test for multi-line code block 2021-03-30 10:39:08 +09:00
marihachi
559d604651 update test 2021-03-28 21:26:30 +09:00