mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			370 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			370 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
var Attendant = require('turndown-attendant')
 | 
						|
var TurndownService = require('../../to-markdown/lib/turndown.cjs')
 | 
						|
var gfm = require('../lib/turndown-plugin-gfm.cjs').gfm
 | 
						|
 | 
						|
var attendant = new Attendant({
 | 
						|
  file: __dirname + '/index.html',
 | 
						|
  TurndownService: TurndownService,
 | 
						|
  beforeEach: function (turndownService) {
 | 
						|
    turndownService.use(gfm)
 | 
						|
  }
 | 
						|
})
 | 
						|
 | 
						|
attendant.run()
 |