mirror of
https://github.com/KevinMidboe/inline-html.git
synced 2025-12-08 20:29:06 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e761d12a5 | ||
|
|
c9b71e782d |
@@ -85,7 +85,7 @@ npm install inline-html
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<a name="html"/>
|
<a name="html"></a>
|
||||||
### inline.html ( html [, options] )
|
### inline.html ( html [, options] )
|
||||||
|
|
||||||
Parses an HTML string and embeds referenced local assets into the HTML.
|
Parses an HTML string and embeds referenced local assets into the HTML.
|
||||||
@@ -115,7 +115,7 @@ co(function * () {
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<a name="file"/>
|
<a name="file"></a>
|
||||||
### inline.file ( filename [, options] )
|
### inline.file ( filename [, options] )
|
||||||
|
|
||||||
Reads an HTML file and embeds referenced local assets into the HTML.
|
Reads an HTML file and embeds referenced local assets into the HTML.
|
||||||
@@ -144,7 +144,7 @@ co(function * () {
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<a name="results"/>
|
<a name="results"></a>
|
||||||
### Results
|
### Results
|
||||||
|
|
||||||
The `Promise` returned by these functions is optionally fulfilled with a `results` object that has the following properties:
|
The `Promise` returned by these functions is optionally fulfilled with a `results` object that has the following properties:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "inline-html",
|
"name": "inline-html",
|
||||||
"version": "0.2.3",
|
"version": "0.2.4",
|
||||||
"description": "Inline local assets referenced in an HTML document.",
|
"description": "Inline local assets referenced in an HTML document.",
|
||||||
"repository": "panosoft/inline-html",
|
"repository": "panosoft/inline-html",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
Reference in New Issue
Block a user