Commit graph

378 commits

Author SHA1 Message Date
dakkar
71857405ae lint 2024-06-29 09:25:20 +01:00
dakkar
42a8f0d44d Merge remote-tracking branch 'misskey/develop' into from-upstream 2024-06-29 09:23:12 +01:00
dakkar
3b34b53b31 Merge branch 'parser-documentation' into 'develop'
Added documentation

See merge request TransFem-org/sfm-js!3
2024-06-29 08:10:26 +00:00
anatawa12
9cd9aaebe4
fix type error (#147)
* feat: parse <plain> in parseSimple

* fix: type error

* chore: update api.md
2024-06-15 16:13:59 +09:00
anatawa12
7dbd9f2889
feat: parse <plain> in parseSimple (#146) 2024-06-15 14:05:57 +09:00
anatawa12
2c7e152644
fix lints and kill any (#142)
* lint: fix lint warning that is easy to fix

* lint: typesafe signature of seqOrText

* lint: typesafe createLanguage and language

* lint: typesafe seq

* lint: typesafe Parser.option

* fix: node can be string

* lint: typesafe alt

* fix: invalid url in link element will cause error

* chore: get rid of any

* fix: unnecessary import

* lint: kill any but still with loose type checking

* Revert "lint: kill any but still with loose type checking"

This reverts commit 8c7462f4a745800499a63ecf0632df3647b3e22c.

* lint: kill any again

* test: write type test

* ci: upgrade node version for lint
2024-06-13 11:19:25 +09:00
Real-Septicake
488444ccbf Applied suggestions to other files' documentation 2024-04-09 13:33:01 -04:00
Real-Septicake
81b70aefc7 Updated documentation with suggested changes 2024-04-09 12:52:50 -04:00
Marie
707004b4c9 Merge branch 'fix/ci' into 'develop'
fix(ci): replace broken token with CI_JOB_TOKEN

See merge request TransFem-org/sfm-js!4
2024-04-03 09:19:53 +00:00
Marie
f2f2b82c8c fix(ci): replace broken token with CI_JOB_TOKEN 2024-04-03 09:19:36 +00:00
Marie
64b3b75f74 Merge branch 'feat/matchnonascii' into 'develop'
Support non-ASCII characters in emoji code

See merge request TransFem-org/sfm-js!2
2024-04-03 09:17:39 +00:00
Real-Septicake
a8ef16e8c4 Added documentation 2024-03-26 15:40:02 -04:00
dakkar
8fa16de198 explain how to test local changes 2024-03-09 12:47:05 +00:00
dakkar
f5359d4656 normalise emoji text
also, tests
2024-03-09 09:39:48 +00:00
Marie
7b6749fc35 upd: add Mark to regex 2024-03-06 16:22:46 +00:00
Marie
f5128d6ad5 fix: add unicode flag 2024-03-03 15:34:20 +00:00
Marie
fb85b8abdb fix: side issue 2024-03-03 15:23:26 +00:00
Marie
b558dc21bb chore: put _ and + behind -
Simply just to make it look a bit nicer
2024-03-03 15:21:38 +00:00
Marie
9318d6f003 upd: change regex to support non-ascii characters 2024-03-03 15:19:48 +00:00
Marie
079b0dd655 make publish only run on stable branch 2024-02-03 23:04:54 +00:00
Marie
46052d0e10 Adjust package info for new git instance 2024-02-02 19:42:15 +00:00
Marie
edb4f9ec3b Update .gitlab-ci.yml file 2024-02-02 19:40:41 +00:00
Marie
87b0c5fb1c Update .gitlab-ci.yml file 2024-02-02 18:59:02 +00:00
Marie
dd0a082fba Add new file 2024-02-02 18:56:46 +00:00
Mar0xy
f7880a4404
upd: version 2024-01-08 22:20:52 +01:00
Marie
d05b5b629f merge: allow "math block" inline (#6) 2024-01-08 22:17:22 +01:00
dakkar
5f50e38f31 allow "math block" inline
previously, a math block would only be recognised when on its own
line
2024-01-02 16:14:14 +00:00
Mar0xy
3eb78bc54f
update version 2023-12-28 19:35:48 +01:00
Marie
58dc6c3b2e merge: avoid using the /v modifier (#5)
Reviewed-on: https://git.joinsharkey.org/Sharkey/sfm.js/pulls/5
2023-12-28 19:30:15 +01:00
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
Mar0xy
2b2305c08b
update version
Closes #2
2023-12-28 13:03:36 +01: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