File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 3
3
"version" : " 9.2.0" ,
4
4
"type" : " module" ,
5
5
"description" : " parse Scrapbox notation to JavaScript Object" ,
6
- "files" : [
7
- " out"
8
- ],
6
+ "files" : [" out" ],
9
7
"main" : " ./out/index.cjs" ,
10
8
"module" : " ./out/index.mjs" ,
11
9
"types" : " ./out/index.d.ts" ,
32
30
"type" : " git" ,
33
31
"url" : " git+https://github.com/progfay/scrapbox-parser.git"
34
32
},
35
- "keywords" : [
36
- " scrapbox" ,
37
- " parser"
38
- ],
33
+ "keywords" : [" scrapbox" , " parser" ],
39
34
"author" : " progfay" ,
40
35
"license" : " MIT" ,
41
36
"bugs" : {
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import { createNodeParser } from "./creator.ts";
4
4
import type { NodeCreator } from "./creator.ts" ;
5
5
import type { PlainNode , StrongImageNode } from "./type.ts" ;
6
6
7
- const strongImageRegExp = / \[ \[ h t t p s ? : \/ \/ [ ^ \s \] ] + \. (?: p n g | j p e ? g | g i f | s v g | w e b p ) \] \] / i;
7
+ const strongImageRegExp =
8
+ / \[ \[ h t t p s ? : \/ \/ [ ^ \s \] ] + \. (?: p n g | j p e ? g | g i f | s v g | w e b p ) \] \] / i;
8
9
const strongGyazoImageRegExp =
9
10
/ \[ \[ h t t p s ? : \/ \/ (?: [ 0 - 9 a - z - ] + \. ) ? g y a z o \. c o m \/ [ 0 - 9 a - f ] { 32 } \] \] / ;
10
11
You can’t perform that action at this time.
0 commit comments