Acid Chicken (硫酸鶏)
c7afe7a3de
Module 'parse5' as import syntax ( #4015 )
2019-02-01 19:41:13 +09:00
syuilo
0e4e7247da
Revert b515cc90e9070465d9ba1f2e40d7af184fff5491
2019-01-31 17:42:36 +09:00
syuilo
44b84e39ac
[MFM] Better syntax parsing
...
Allow nesting by same tag
2019-01-31 12:23:45 +09:00
syuilo
76f785b87e
[MFM] Make some syntax block
...
Resolve #3508
2019-01-31 12:10:48 +09:00
Aya Morisawa
c6b33cd764
Simplify MFM ( #4046 )
2019-01-31 12:06:13 +09:00
syuilo
784985e6e4
[ActivityPub] Use microformats on mentions
...
To avoid pointless link previews.
see: https://misskey.xyz/notes/5c51ab5c2d85f2003248eddc
2019-01-30 22:57:32 +09:00
Aya Morisawa
ba4e78746c
Rename parser to language
2019-01-30 17:04:49 +09:00
Aya Morisawa
d034a10d54
Avoid export default
2019-01-30 16:56:27 +09:00
Aya Morisawa
6ef6f06a21
Extract parsePlain function
2019-01-30 15:27:54 +09:00
Aya Morisawa
ec0b271add
Merge plainParser into mfm
2019-01-30 15:12:48 +09:00
Aya Morisawa
277db03f0d
Rename html-to-mfm to fromHtml
2019-01-30 15:00:05 +09:00
Aya Morisawa
047d4c47fe
Rename html to toHtml
2019-01-30 14:57:13 +09:00
Aya Morisawa
1e48af9693
Extract MFM types
2019-01-30 14:51:30 +09:00
Aya Morisawa
90634f96ed
Extract MFM normalize function
2019-01-30 14:21:36 +09:00
MeiMei
366d3b73ba
Fix #4034 ( #4037 )
...
* Fix #4034
* improve
2019-01-29 20:33:28 +09:00
syuilo
582aae6494
[MFM] Resolve #4009
2019-01-27 19:32:35 +09:00
Aya Morisawa
e254ddb1c8
Add jump syntax ( #4007 )
...
* Add jump syntax
* Fix typo: spin -> jump
* Fix typo
2019-01-27 19:12:45 +09:00
syuilo
e4ecdc8b81
[MFM] spinの中でflipを使えるように
2019-01-27 19:12:08 +09:00
Aya Morisawa
764c89c228
Merge branch 'develop' into math-block
2019-01-27 16:41:30 +09:00
syuilo
ee81bd2955
[MFM] Add flip syntax
...
Resolve #4002
2019-01-27 16:31:00 +09:00
syuilo
5f10be3f9a
[MFM] Add spin syntax
...
Resolve #4003
2019-01-27 16:18:04 +09:00
syuilo
daa1963645
[Client] Improve syntax highlighting
...
Resolve #3926
Resolve #3390
2019-01-27 14:34:52 +09:00
Acid Chicken (硫酸鶏)
febd83e7ac
Update parser.ts ( #3999 )
...
* Update parser.ts
* Update parser.ts
* Update parser.ts
2019-01-27 13:50:47 +09:00
syuilo
4f810bab1a
[MFM] Improve title syntax detection
2019-01-27 13:40:38 +09:00
Aya Morisawa
e53c969727
Add multiline math syntax
...
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2019-01-25 23:08:06 +09:00
syuilo
e22c816982
[MFM] Improve italic syntax detection
2019-01-25 16:41:51 +09:00
syuilo
18c1f4aa86
[MFM] __ 構文はアルファベットのみに
2019-01-20 18:06:04 +09:00
ibrokemypie
57b4b20bb6
Add double underscore syntax for bold markdown ( #3733 )
...
* Add double underscore syntax for bold markdown
see https://github.com/syuilo/misskey/pull/3732
this allows bold text through either **text** or __text__
* Add tests for underscore bold mfm syntax
2019-01-20 18:00:55 +09:00
syuilo
9d93e1d659
[MFM] Add <i> syntax
2019-01-20 17:52:11 +09:00
ibrokemypie
273b78c080
Change italic syntax to fit with other markdown implementations ( #3916 )
...
currently italics require an html <i> syntax, unlike every other formatter. this is very confusing, especially as there doesnt seem to be any documentation.
this change makes both _text_ and *text* work, both things that users would expect from other implementations of markdown such as pleroma, discord and github.
Add test
2019-01-20 17:44:52 +09:00
syuilo
98bee28b36
[MFM] Better hashtag parsing: Ignore single quotation
2019-01-17 09:33:08 +09:00
syuilo
66e4010f1e
[MFM] Better hashtag parsing: Ignore double quotation
...
Resolve #3886
2019-01-17 09:24:20 +09:00
syuilo
23bcb95c0a
[MFM] Better hashtag parsing: Ignore trailing colon
2019-01-12 14:10:16 +09:00
Aya Morisawa
06d7e119ef
Improve MFM bracket matching
...
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
2018-12-22 00:44:38 +09:00
Aya Morisawa
88bf7a0426
Fix comment
2018-12-21 11:28:30 +09:00
Aya Morisawa
45c9667c5c
Refactor MFM
...
Co-authored-by: syuilo syuilotan@yahoo.co.jp
2018-12-20 19:42:10 +09:00
Acid Chicken (硫酸鶏)
1b04b89199
Resolve #3676 ( #3677 )
2018-12-19 21:20:25 +09:00
syuilo
4d17f35730
Fix bug
2018-12-19 11:16:29 +09:00
Acid Chicken (硫酸鶏)
f2c676cbdd
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
Acid Chicken (硫酸鶏)
3fd16b3896
Update html.ts ( #3603 )
2018-12-13 01:33:18 +09:00
MeiMei
4b729421fe
Fix htmlToMfm ( #3600 )
2018-12-12 11:47:07 +09:00
Aya Morisawa
b954245a4d
Use for-of instead of forEach ( #3583 )
...
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00
MeiMei
b9ec3795f7
Show user fields ( #3590 )
2018-12-11 20:18:12 +09:00
tamaina
7bd67daf07
#2501 ( #3567 )
...
* refactor mfm/html
* fix
* fix
* https://github.com/syuilo/misskey/pull/3567#discussion_r240023301
2018-12-09 13:15:32 +09:00
Aya Morisawa
dece0c2bfb
Eliminate if-statement ( #3555 )
2018-12-09 03:40:40 +09:00
syuilo
3597297b18
Update parser.ts
2018-12-07 18:26:54 +09:00
syuilo
1001e6e5f4
Resolve #3529
2018-12-07 17:54:35 +09:00
MeiMei
2bf3f7ab87
Emoji support in profile ( #3514 )
...
* Emoji in profile
* Add emojis to fields
2018-12-06 10:02:04 +09:00
Aya Morisawa
06eeb36ae5
Add small syntax ( #3506 )
2018-12-05 20:11:54 +09:00
syuilo
82e478f2e3
[MFM] Add italic syntax
...
Resolve #3486
2018-12-05 17:39:26 +09:00