Commit Graph

166 Commits

Author SHA1 Message Date
syuilo
df88d82cae [MFM] Add center syntax
Resolve #1775
2018-11-25 13:36:40 +09:00
syuilo
60fe0da1b4 Improve MFM 2018-11-25 13:23:18 +09:00
syuilo
6d52a4b4dd Refactoring 2018-11-25 13:19:33 +09:00
syuilo
cba9250492 [MFM] Better hashtag parsing 2018-11-25 04:44:42 +09:00
syuilo
d75a6faeba [MFM] Fix hashtag detection 2018-11-24 17:18:11 +09:00
syuilo
d4d54d91ca Refactor 2018-11-24 17:10:12 +09:00
syuilo
0ce969d4a6 [MFM] Improve hashtag detection
Resolve #3387
2018-11-23 16:02:17 +09:00
syuilo
4705cd1008 [MFM] Improve URL parsing
Fix #3368
2018-11-22 05:02:38 +09:00
syuilo
12aa24d354 [MFM] Better inline code parse 2018-11-21 12:55:15 +09:00
syuilo
2018edcdec Improve MFM 2018-11-21 08:32:40 +09:00
syuilo
91622ff1db [MFM] Fix hashtag parsing 2018-11-21 08:30:29 +09:00
syuilo
60252911eb 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
Aya Morisawa
6e8a20eabe Change math syntax (#3280) 2018-11-17 00:31:49 +09:00
syuilo
5d8c97dbc7 [MFM] Improve various parsing
Resolve #2779
Resolve #3053
2018-11-16 21:57:19 +09:00
syuilo
5e877644ca [MFM] Better URL parsing 2018-11-16 21:30:01 +09:00
Aya Morisawa
97d4c04276 Support math rendering on MFM (#3260) 2018-11-16 17:03:52 +09:00
Aya Morisawa
4e07b74a4a Add group function (#3175) 2018-11-09 13:03:46 +09:00
syuilo
2650eca7a1 [MFM] Fix title parsing 2018-11-07 21:17:27 +09:00
MeiMei
620a21f916 Twemojiで合字に対応 (#3140)
* Twemojiで合字に対応

* split emoji regex
2018-11-06 14:09:40 +09:00
syuilo
3ba15bc3cb Better emoji regexp 2018-11-05 20:49:17 +09:00
syuilo
ceb2a316cd Refactoring & 設定でTwemojiを使うかどうか切り替えられるように 2018-11-05 19:20:35 +09:00
Acid Chicken (硫酸鶏)
d9f4886a97 Make code better
refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171423739
refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171424596
refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171425303
2018-11-05 16:19:14 +09:00
Acid Chicken (硫酸鶏)
d8dbd41a1e Add support for unicode emojis
refs: https://github.com/syuilo/misskey/pull/3117#issuecomment-435745613
2018-11-05 15:15:37 +09:00
MeiMei
b8ae57f743 Fix: emoji regex (#3093) 2018-11-04 17:36:37 +09:00
syuilo
0087b3d351 Refactoring 2018-11-03 22:40:12 +09:00
syuilo
82e78f5b5a Add missing semicolons 2018-11-03 22:38:12 +09:00
syuilo
905bde1ba5 [MFM] Fix emoji syntax parsing 2018-11-03 22:35:24 +09:00
syuilo
a0a3786b69 [MFM] Fix title syntax parsing 2018-11-03 15:28:00 +09:00
syuilo
a498d8d39a [MFM] Better hashtag detection 2018-10-31 22:38:05 +09:00
syuilo
4cdf5f82a1 Fix MFM parsing 2018-10-29 19:09:24 +09:00
syuilo
68cb0123a6 Fix #2949 2018-10-20 09:03:04 +09:00
MeiMei
3bdc97b242 非ASCIIなドメインへのメンションの修正 (#2903)
* punycodeでされたmentionのラベルをunicodeとして表示する

* post-form mentionはpunycodeにする

* mentionの表示はURLもAPI向けもunicodeにする
2018-10-14 16:56:19 +09:00
MeiMei
4c1eed8002 Fix 'URL is not defined' in MFM (#2782) 2018-09-28 20:54:14 +09:00
syuilo
3824dccbe3 Fix #2744 2018-09-21 08:33:24 +09:00
syuilo
9220081e12 Resolve #1153 2018-09-20 06:27:41 +09:00
syuilo
20c4d59c85 Better hashtag parsing 2018-09-17 22:51:10 +09:00
syuilo
900739eb71 Fix #2720 2018-09-17 02:45:30 +09:00
Aya Morisawa
223fb7cbd3 Add toUpperCase function (#2697) 2018-09-12 03:51:33 +09:00
Aya Morisawa
abf9204c92 Add capitalize function (#2651) 2018-09-07 03:22:55 +09:00
Aya Morisawa
7eb1ee2ce9 Resolve #2629 (#2630) 2018-09-06 02:28:04 +09:00
syuilo
19300044ad Clean up 2018-09-01 23:57:05 +09:00
Aya Morisawa
36e10e2bbf Use string interpolation 2018-09-01 23:12:51 +09:00
tamaina
98ff6cdf91 fix #2315 (#2339)
* improve MFM to html

* improve html to MFM

* missing semicolon

* missing semicolon

* fix html to MFM

タグのリンクは解除するように

* fix bug

* misssing semicolon

* Update html-to-mfm.ts

* Update html-to-mfm.ts
2018-09-01 22:45:27 +09:00
Aya Morisawa
8b2eacc5ea Use startsWith and endsWith for readability 2018-08-25 22:42:26 +09:00
syuilo
64dd0aec60 Fix bug 2018-08-19 05:15:50 +09:00
Aya Morisawa
84d8b49f76 Clean up 2018-08-19 00:31:25 +09:00
tamaina
30af01a7fc missing semicolon 2018-08-19 00:20:36 +09:00
tamaina
95a68340f9 missing semicolon 2018-08-19 00:20:36 +09:00
tamaina
d6bad7cb30 improve html to MFM 2018-08-19 00:20:36 +09:00
tamaina
8ec8d89e0a improve MFM to html 2018-08-19 00:20:36 +09:00
syuilo
cccd889449 Trim code 2018-08-16 04:42:44 +09:00
syuilo
ae5a277c2a Refactoring 2018-08-15 20:27:49 +09:00
syuilo
eb260a351b Improve MFM 2018-08-15 20:27:36 +09:00
syuilo
e09e54694e Improve MFM 2018-08-15 20:23:50 +09:00
syuilo
7a627fd83e MFMの((()))構文が顔文字と競合する対策としてタグ形式の構文も追加 2018-08-05 23:56:08 +09:00
syuilo
70656988e3 typo 2018-08-05 12:33:55 +09:00
syuilo
02cf340497 Add new MFM syntax 2018-08-05 12:33:51 +09:00
syuilo
816f6dbf94 Fix bug 2018-08-04 11:39:59 +09:00
syuilo
f3d6029c8e ✌️ 2018-08-04 10:40:09 +09:00
syuilo
8e959f38dc Implement new MFM syntax 2018-08-03 23:27:37 +09:00
syuilo
bea7e21a80 Refactorng 2018-07-07 19:19:00 +09:00
syuilo
ab320c4ba9 Fix #1857 2018-07-07 12:50:09 +09:00
syuilo
baf6ccf659 Fix bug 2018-07-01 13:46:34 +09:00
syuilo
9887e2e08d MFM: Improve title syntax 2018-06-26 18:42:00 +09:00
syuilo
8134df00a6 MFM: Improve search syntax 2018-06-23 19:31:28 +09:00
syuilo
899b69c2a9 リモートユーザーのHTMLで表現されたプロフィールをMFMに変換するように 2018-06-21 01:21:57 +09:00