Commit graph

316 commits

Author SHA1 Message Date
syuilo
8915998c02 0.23.1 2023-01-09 16:06:07 +09:00
syuilo
013f3af23e improve emoji code parsing
Fix #129
2023-01-09 16:05:16 +09:00
marihachi
363b091a67
仕様に出てくる用語を修正 2022-12-20 11:16:35 +09:00
marihachi
073b69a4f2 update package.json 2022-07-22 22:58:00 +09:00
marihachi
4165a59fdb update package.json 2022-07-22 22:57:10 +09:00
marihachi
bfd6052561 changelog 2022-07-22 22:56:57 +09:00
marihachi
d4ee1dc5df changelog 2022-07-22 21:40:11 +09:00
marihachi
8cfb94933c v0.23.0 2022-07-22 21:33:39 +09:00
marihachi
db8086e939 changelog 2022-07-22 21:31:13 +09:00
marihachi
5fe291a7e7
TypeScript版パーサーのマージ (#124)
* implement parser with TypeScript (#116)

* clean parser

* parser, success, failure, str, parser.map

* seq

* atLeast, any, alt, match, notMatch

* mergeText

* improve seq

* lazy, createLanguage

* types

* regexp, refactor

* nest limit

* lint

* state

* syntaxes

* sep1, succeeded, option, fn

* simple

* strikeWave, plainTag, inlineCode, mathInline

* mention, refactor

* seqPartial

* 🚀

* parser trace

* fix mention, implement hashtag

* lineBegin, lineEnd, refactor

* imple codeBlock, fix lineEnd

* codeBlock, mathBlock

* fix codeBlock

* fix mathBlock

* fix codeBlock

* lint

* fix inlineCode

* 🚀

* centerTag

* fix nesting limit

* fix unicodeEmoji

* 🚀

* search

* refactor

* seqPartial -> seqOrText

* lint

* url, urlAlt

* 🚀

* 🚀

* text

* fix

* link

* linkLabel state

* lint

* nesting limit for link label

* fix url bracket pair

* nest

* refactor

* refactor

* remove

* add test

* wip quote

* add quote test

* quote

* refactor

* hashtag

* refactor

* type

* type

* refactor

* lint

* url

* italicAsta, italicUnder

* italicAsta, italicUnder, mention, rethink spec

* rethink spec

* test: change implementation-dependent parts

* hashtag

* add mention test

* mention

* mention

* mention

* mention

* url

* test

* hashtag

* Revert "Auxiliary commit to revert individual files from 373972beef10eb99ff3e3635a32a207854154a2a"

This reverts commit 622b66e20778ad5c283ea7629db853cbf2bb601f.

* package-lock

* Update tsconfig.json

* Update tsconfig.json

* ignore a tsd error when importing twemoji-parser regexp

* lint

* lint

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* v0.23.0-canary.1

* readme

* update chagelog

* update changelog

* update changelog

* refactor

* update core combinators

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-22 02:21:56 +09:00
syuilo
7b7af907bd Update mfm-js.api.md 2022-07-10 16:48:27 +09:00
syuilo
c77388a7f8 update deps 2022-07-10 16:34:25 +09:00
marihachi
aa893a8477
implement plain syntax (#114)
* implement plain syntax

* public api

* plain syntax

* public api

* plain syntax

* Update test/parser.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* plain parser -> simple parser

* nomfm -> plain

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-07 23:41:09 +09:00
marihachi
24caa9ee5f package-lock.json 2022-06-05 16:28:17 +09:00
marihachi
c2f166d466 v0.22.1 2022-05-22 11:44:40 +09:00
marihachi
ac5456869d fix changelog 2022-05-22 11:27:27 +09:00
marihachi
46800ad51b update changelog 2022-05-21 20:16:18 +09:00
marihachi
4cbc32661c v0.22.0 2022-05-21 20:07:10 +09:00
marihachi
d022e5200d update changelog 2022-05-21 20:03:54 +09:00
marihachi
e38a6e6576
ハッシュタグの変更 (#111)
* fix #110

* add tests for hashtag
2022-05-21 19:33:28 +09:00
marihachi
100fb0bfbf apply modified spec 2022-05-21 19:06:29 +09:00
MeiMei
880f842c4a
Unicode 14.0 Emoji (#109) 2022-05-21 18:27:43 +09:00
marihachi
6ed1ea60a0
update spec (#108) 2022-05-15 10:48:30 +09:00
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
dependabot[bot]
fcbda2ecac
Bump minimist from 1.2.5 to 1.2.6 (#103)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-06 01:45:08 +09:00
marihachi
430faf5959 lint 2022-02-01 23:33:18 +09:00
syuilo
5639ecd440
Update .eslintrc.js 2022-01-31 21:29:41 +09:00
syuilo
d1e611453f
Update .eslintrc.js 2022-01-31 21:25:11 +09:00
syuilo
ec0b1f9147
Update .eslintrc.js 2022-01-12 00:26:19 +09:00
marihachi
c01a03f321 update changelog 2022-01-11 21:29:09 +09:00
marihachi
d07d85d360 update changelog 2022-01-11 21:25:28 +09:00
marihachi
0a8c82361c v0.21.0 2022-01-11 21:17:05 +09:00
marihachi
c9acde987c update changelog 2022-01-11 21:13:13 +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
syuilo
8cc0ca9400
Update .eslintignore 2022-01-10 01:51:04 +09:00
marihachi
bedaa56c28 🐱 2022-01-10 01:13:10 +09:00
marihachi
8bb4236d48 update changelog 2022-01-10 01:12:10 +09:00
marihachi
b3efd45f2a fix opts of internal parsing 2022-01-09 22:55:55 +09:00
marihachi
f1d942be62 lint 2022-01-09 22:48:52 +09:00
marihachi
4fee3f5fb6 fix link label 2022-01-09 22:37:36 +09:00
marihachi
c60ba229b5 Revert "fix bug of link label parsing" (ignore test) 2022-01-09 22:07:49 +09:00
marihachi
e1b9f5ac3a refine url node generation 2022-01-09 22:04:27 +09:00
syuilo
cf1d0c7cb4
Update .eslintrc.js 2022-01-09 19:25:43 +09:00
marihachi
6aaa34403a fix bug of link label parsing 2022-01-09 18:21:57 +09:00
marihachi
e28b2989e4 update changelog 2022-01-09 17:13:52 +09:00
marihachi
02addcdf65 update doc 2022-01-09 17:13:25 +09:00
marihachi
150a382768 update doc 2022-01-06 23:31:21 +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
syuilo
21b625a55b update copyright 2022-01-01 21:57:03 +09:00
syuilo
57f0613fcb
Update .eslintrc.js 2021-12-28 00:34:46 +09:00