chore(monorepo/server): integrate turndown-plugin-gfm

This commit is contained in:
Elian Doran
2025-04-18 12:47:58 +03:00
parent 3ddc8e5e7b
commit fc228ca47c
23 changed files with 4 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
const Attendant = require('turndown-attendant');
const TurndownService = require('turndown');
const gfm = require('../lib/turndown-plugin-gfm.cjs').gfm;
const attendant = new Attendant({
file: `${__dirname}/index.html`,
TurndownService: TurndownService,
beforeEach: function(turndownService) {
turndownService.use(gfm);
},
});
attendant.run();