HTML stylesheet inliner, replaces resources with data-uri
Project description
inline-html
This script parses an input HTML and
inlines all images in <img> tags with data-uri
inlines all external stylesheets references using <link rel=”stylesheet” type=”text/css”…>
replaces all CSS references to external files (url(..)) with data-uri
Requirements
works with Python 2.7 and 3.4/3.5
Usage
bin/inline-html --in-file in.html --out-file out.html
License
GPL 2 (see LICENSE.txt)
Repository
Bugtracker
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
inline-html-1.0.0.zip
(467.4 kB
view details)
File details
Details for the file inline-html-1.0.0.zip
.
File metadata
- Download URL: inline-html-1.0.0.zip
- Upload date:
- Size: 467.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8291390cc7ef5337cd0eaa8ff160585a7eb67d148b32e46cb744b02d15fc5aa |
|
MD5 | 88b66559cdc2bbe31c258ea055c978f6 |
|
BLAKE2b-256 | 894d095d012f0d78e6f4ac98533981e67b1da7eb7d5ee036ee20f8240b6fae99 |