UNPKG

nono-plugin-html-inline

Version:

nono plugin package tool,inline local javascript, stylehseets, and images from an html page

15 lines (10 loc) 536 B
html-inline {-i INFILE -o OUTFILE -b BASEDIR} Read an html file from INFILE to produce OUTFILE, inlining stylesheets, script tags, and images relative to BASEDIR. -i File to read. Default: STDIN. -o File to write. Default: STDOUT. -b Directory to resolve paths from. Default: $PWD. --ignore-images Don't inline images. Default: false --ignore-scripts Don't inline JavaScript. Default: false --ignore-styles Don't inline CSS. Default: false --ignore-links Don't inline <link> tags. Default: false