How to use the packages function from yargs
Find comprehensive JavaScript yargs.packages code examples handpicked from public code repositorys.
108 109 110 111 112 113 114 115 116 117
if (argv.assistiveMml) AssistiveMmlHandler(handler); // // Create input and output jax and a document using them on the content from the HTML file // const tex = new TeX({packages: argv.packages.split(/\s*,\s*/)}); const svg = new SVG({fontCache: (argv.fontCache ? 'local' : 'none')}); const html = mathjax.document('', {InputJax: tex, OutputJax: svg}); //
39
79
6
yargs.argv is the most popular function in yargs (1012 examples)