使用openai进行了代码review
This commit is contained in:
+2
-3
@@ -18,10 +18,9 @@ turndownService.use(gfm);
|
||||
|
||||
// Configure Turndown to handle some common elements better if needed
|
||||
turndownService.addRule('strikethrough', {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
filter: ['del', 's', 'strike'] as any,
|
||||
filter: ['del', 's'],
|
||||
replacement: function (content: string) {
|
||||
return '~' + content + '~';
|
||||
return '~~' + content + '~~';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user