INNER CODE UNIT · JavaScript

configure

danburzo/percollate · index.js:68

function configure() {
	if (!configured) {
		const env = nunjucks.configure({
			autoescape: false,
			noCache: true
		});
		env.addFilter('humandate', humanDate);
		configured = true;
	}
}

function launch(options, size) {
	/*
		Produce tagged PDFs, better for accessibility;
		Hopefully will also produce an Outline (ToC) eventually.
		See: https://github.com/danburzo/percollate/issues/47
	 */
	let args = ['--export-tagged-pdf'];

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…