Skip to content

Commit

Permalink
chore(*): fix type check errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lyngai committed Aug 21, 2023
1 parent 64c44d1 commit 874dba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"standard-version": "^9.3.2",
"ts-jest": "^27.1.1",
"ts-node": "^10.7.0",
"typescript": "4.3.5",
"typescript": "4.5.5",
"virtual-dom": "^2.1.1"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/utils/regexp.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function getCodeBlockRule() {
begin: /(?:^|\n)(\n*((?:>[\t ]*)*)(?:[^\S\n]*))(`{3,})([^`]*?)\n/,
content: /([\w\W]*?)/, // '([\\w\\W]*?)',
end: /[^\S\n]*\3[ \t]*(?=$|\n+)/, // '\\s*```[ \\t]*(?=$|\\n+)',
reg: new RegExp(''),
};
codeBlock.reg = new RegExp(codeBlock.begin.source + codeBlock.content.source + codeBlock.end.source, 'g');
return {
Expand Down

0 comments on commit 874dba8

Please sign in to comment.