Skip to content

Commit 3ae925d

Browse files
committed
Version 1.5.0
1 parent 5485abd commit 3ae925d

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

Changelog.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
1.5.0
2+
=====
3+
You can use tags with ids in your html to get custom headers and footers:
4+
```html
5+
<div id="pageHeader">Default header</div>
6+
<div id="pageHeader-first">Header on first page</div>
7+
<div id="pageHeader-2">Header on second page</div>
8+
<div id="pageHeader-3">Header on third page</div>
9+
<div id="pageHeader-last">Header on last page</div>
10+
...
11+
<div id="pageFooter">Default footer</div>
12+
<div id="pageFooter-first">Footer on first page</div>
13+
<div id="pageFooter-2">Footer on second page</div>
14+
<div id="pageFooter-last">Footer on last page</div>
15+
```
16+
17+
118
1.4.0
219
=====
320
- Add `httpHeaders` option.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html-pdf",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "HTML to PDF converter that uses phantomjs",
55
"main": "lib/index.js",
66
"directories": {

0 commit comments

Comments
 (0)