# inline-html Inline local assets referenced in an HTML document. [](https://www.npmjs.com/package/inline-html) [](https://www.npmjs.com/package/inline-html) [](https://travis-ci.org/panosoft/inline-html) [](https://david-dm.org/panosoft/inline-html) [](https://www.npmjs.com/package/inline-html) This library parses HTML, embeds the contents of local assets that are referenced within that HTML, and returns a new inlined HTML string. The following HTML elements and CSS data types are inlined: - Images - The source path is replaced with a datauri. - Linked LESS stylesheets - The LESS is compiled and the result is inlined within a `
 `);
	console.log(html); //
`);
	console.log(html); //