Commit graph

348 commits

Author SHA1 Message Date
dakkar
cb611b278b avoid using the /v modifier
it's not supported by many browsers, also the vue/vite compiler
refuses to allow it
2023-12-28 14:12:55 +00:00
Marie
3ab3ca1cfb merge: allow more non-ascii in markup (#4) 2023-12-28 12:54:56 +01:00
dakkar
8818a2df9a test that I've not broken whitespace handling 2023-12-28 08:45:03 +00:00
dakkar
4ff4ee6fd2 allow more non-ascii in markup 2023-12-28 08:33:43 +00:00
Marie
3f5388227f Delete .forgejo/workflows/lint.yml 2023-12-27 22:56:13 +01:00
Marie
eea1f14a02 Merge pull request 'fix search-related tests' (#3) from dakkar/sfm.js:fix-tests into develop
Reviewed-on: https://git.joinsharkey.org/Sharkey/sfm.js/pulls/3
2023-12-27 09:44:45 +01:00
dakkar
2df8cee5bd fix search-related tests 2023-12-26 17:15:52 +00:00
Marie
4b44cf6021 release minor change
Closes #1
2023-12-25 19:55:57 +01:00
Marie
48ae6c9e6c Add U+2063 as seperator to hashtag 2023-12-25 19:49:29 +01:00
Marie
4ead124a2a upd: README 2023-12-22 01:52:03 +01:00
Marie
27dd1b6499 add workflows and remove .github folder 2023-12-22 01:47:31 +01:00
Marie
9106a5f41a add: tslib as dev dep 2023-12-22 01:42:18 +01:00
Marie
9bc8400163 merge: upstream 2023-12-22 01:40:02 +01:00
Marie
7ebad2484d Update package-lock.json 2023-12-18 18:43:24 +01:00
Marie
38f786dc50 Update package.json 2023-12-18 18:43:01 +01:00
syuilo
6aaf680890 0.24.0 2023-12-18 13:20:29 +09:00
syuilo
4fb5c62e7b update deps 2023-12-18 13:19:59 +09:00
zyoshoka
902da0b291
enhance: support Unicode 15.0 emoji (#135) 2023-12-16 10:12:07 +09:00
Marie
fd8bcc2dde Update package-lock.json 2023-12-13 19:14:20 +01:00
Marie
d7e29613c9 Update package.json 2023-12-13 19:12:21 +01:00
Marie
3b5bfe6f6a Remove search wildcard at end trigger, Fix . in username in mention breaking mentions 2023-12-13 18:42:26 +01:00
syuilo
ae92c2a9d0 chore: use test instead of it 2023-02-04 09:30:39 +09:00
syuilo
48d2027c25 add some tests 2023-02-04 09:28:34 +09:00
syuilo
c7b6579e69 0.23.3 2023-01-14 08:59:54 +09:00
syuilo
08cb023e9d tweak fn parsing 2023-01-14 08:59:32 +09:00
syuilo
f916d5bd8f remove fnNameList option for more consistency 2023-01-14 08:56:48 +09:00
syuilo
2a3498b8f2 Revert "add emojiCodeList option"
This reverts commit 56002e86ec.
2023-01-14 08:54:02 +09:00
marihachi
11fefdffe0 docs 2023-01-10 23:47:18 +09:00
marihachi
c75f8d2272 changelog 2023-01-10 23:42:06 +09:00
marihachi
9fd6b79832 v0.23.2 2023-01-10 23:41:09 +09:00
marihachi
2dcf574b2c changelog 2023-01-10 23:31:02 +09:00
marihachi
56002e86ec add emojiCodeList option 2023-01-10 23:16:33 +09:00
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