node-tableify
node-tableify copied to clipboard
Add default styling to tables from node app
Hi,
The command line --style parameter is very useful to me, but I'd like to use it from a .js file. Any clue how? Didn't find it in the doc.
Thanks
I would like this feature too.
Any time that I've included the default style.css in the output from inside a .js file, I've read it in beforehand and cached it.
const style = require('fs').readFileSync(__dirname + '/node_modules/tableify/style.css');
Or something similar.
Maybe on a future release I'll just read the style.css file in and attach it to the module as tableify.style or something.