mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			352 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			352 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
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();
 |