Commit graph

54 commits

Author SHA1 Message Date
Aya Morisawa e9f8897fe2
Refactor MFM
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
Acid Chicken (硫酸鶏) 3bcb344ecb Re: #3457 (#3614)
* Update parser.ts

* Update user.ts

* Update search.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update parser.ts

* Update mfm.ts

* Update parser.ts

* Merge branch 'develop' into 3440-mk2

* Fix typo

* Update parser.ts

* Update mfm.ts

* Update mfm.ts
2018-12-17 19:11:38 +09:00
Aya Morisawa 66836836ab
Add small syntax (#3506) 2018-12-05 20:11:54 +09:00
syuilo ed4860dfd9
[MFM] Add italic syntax
Resolve #3486
2018-12-05 17:39:26 +09:00
syuilo 6e343d50f1
[MFM] Implement strike syntax
Resolve #3485
2018-12-04 01:28:21 +09:00
syuilo c58027e521
[MFM] Better hashtag detection 2018-12-02 06:53:57 +09:00
syuilo fe707f88a4
[MFM] Better MFM parsing 2018-12-01 10:40:09 +09:00
syuilo 48d0e2fa5f
[MFM] Improve hashtag detection 2018-11-29 20:12:37 +09:00
syuilo 2c6bad2501
[MFM] Improve hashtag detection 2018-11-27 02:08:51 +09:00
syuilo f3155ea180
[MFM] Add center syntax
Resolve #1775
2018-11-25 13:36:40 +09:00
syuilo 995cf503eb
Add MFM test 2018-11-25 13:21:39 +09:00
syuilo 3b10e93efe
[MFM] Better hashtag parsing 2018-11-25 04:44:42 +09:00
syuilo dbbc416095
[MFM] Fix hashtag detection 2018-11-24 17:18:11 +09:00
syuilo 1d1024c57a
[MFM] Improve hashtag detection
Resolve #3387
2018-11-23 16:02:17 +09:00
syuilo 2b4d63b1bb
Add some tests 2018-11-22 05:04:45 +09:00
syuilo 8cbb961493
[MFM] Improve URL parsing
Fix #3368
2018-11-22 05:02:38 +09:00
syuilo b2f8003602
[MFM] Better inline code parse 2018-11-21 12:55:15 +09:00
syuilo 8f5f3985f4
[MFM] Fix hashtag parsing 2018-11-21 08:30:29 +09:00
syuilo 79ffbf95db
Improve MFM parser (#3337)
* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* Refactor

* Refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Clean up

* Update misskey-flavored-markdown.ts

* wip

* wip

* wip

* wip

* Update parser.ts

* wip

* Add new test

* wip

* Add new test

* Add new test

* wip

* Refactor

* Update parse.ts

* Refactor

* Update parser.ts

* wip
2018-11-21 05:11:00 +09:00
syuilo 6c72545fc8
[Test] Add a test and some updtes 2018-11-17 12:52:20 +09:00
Aya Morisawa 3fc70996e2 Change math syntax (#3280) 2018-11-17 00:31:49 +09:00
syuilo 0ff390ed80
[MFM] Improve various parsing
Resolve #2779
Resolve #3053
2018-11-16 21:57:19 +09:00
syuilo e3b8495431
[MFM] Better URL parsing 2018-11-16 21:30:01 +09:00
Aya Morisawa ad84901f39 Support math rendering on MFM (#3260) 2018-11-16 17:03:52 +09:00
syuilo b8e1162e2d
Fix test 2018-11-07 21:30:28 +09:00
syuilo 501b07c383
[Test] Add MFM test 2018-11-07 19:58:05 +09:00
syuilo e542dcac30
Fix test 2018-11-05 20:40:39 +09:00
syuilo a0b13505a0
Insert missing spaces 2018-11-05 20:15:09 +09:00
syuilo 389f9bfea2
Add test 2018-11-05 20:14:49 +09:00
syuilo 630a534cee
Fix test 2018-11-05 20:10:28 +09:00
syuilo 5744c391e6
Revert "Fix test fails"
This reverts commit b9b05a7401.
2018-11-05 20:10:00 +09:00
Acid Chicken (硫酸鶏) b9b05a7401
Fix test fails 2018-11-05 19:50:38 +09:00
syuilo 65961bc15b
Refactoring & 設定でTwemojiを使うかどうか切り替えられるように 2018-11-05 19:20:35 +09:00
syuilo 600aea4dbb
[MFM] Fix emoji syntax parsing 2018-11-03 22:35:24 +09:00
syuilo ed2f94a3c1
oops 2018-11-03 15:28:11 +09:00
syuilo daba7fe87c
[MFM] Fix title syntax parsing 2018-11-03 15:28:00 +09:00
syuilo 4b145da046
Fix MFM parsing 2018-10-29 19:09:24 +09:00
syuilo f51d1c5264
Fix test 2018-10-20 09:14:16 +09:00
syuilo 70d0937aab
Fix #2949 2018-10-20 09:03:04 +09:00
syuilo 80daf7c749
Implement API tests 2018-10-16 06:37:21 +09:00
MeiMei 5dce81c0db 非ASCIIなドメインへのメンションの修正 (#2903)
* punycodeでされたmentionのラベルをunicodeとして表示する

* post-form mentionはpunycodeにする

* mentionの表示はURLもAPI向けもunicodeにする
2018-10-14 16:56:19 +09:00
syuilo 579b61a806
Update tests 2018-09-30 14:46:18 +09:00
syuilo a5f817d896
Fix #2744 2018-09-21 08:33:24 +09:00
syuilo 5422482696
Resolve #1153 2018-09-20 06:27:41 +09:00
syuilo f5a937c523
Better hashtag parsing 2018-09-17 22:51:10 +09:00
syuilo 374b276f5c
Fix #2720 2018-09-17 02:45:30 +09:00
syuilo ee765d0812 Fix test 2018-08-06 00:31:09 +09:00
syuilo d0926a3ba1 MFMの((()))構文が顔文字と競合する対策としてタグ形式の構文も追加 2018-08-05 23:56:08 +09:00
syuilo 005d25a07b Fix test 2018-08-05 13:50:49 +09:00
syuilo cd28504dd8 Add new MFM syntax 2018-08-05 12:33:51 +09:00