mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-16 11:42:32 +08:00
gfm
This commit is contained in:
parent
9d0d54e511
commit
5cfb78b275
|
@ -48,6 +48,7 @@
|
|||
"stripe": "^11.11.0",
|
||||
"tiktoken": "^1.0.10",
|
||||
"turndown": "^7.1.3",
|
||||
"turndown-plugin-gfm": "^1.0.2",
|
||||
"undici": "^5.24.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -11,7 +11,7 @@ import { Request, Response } from 'express';
|
|||
export class CrawlerHost extends RPCHost {
|
||||
logger = this.globalLogger.child({ service: this.constructor.name });
|
||||
|
||||
turnDownService = new TurnDownService();
|
||||
turnDownService = new TurnDownService().use(require('turndown-plugin-gfm'));
|
||||
|
||||
constructor(
|
||||
protected globalLogger: Logger,
|
||||
|
|
Loading…
Reference in New Issue
Block a user