File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
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
+
1
18
1.4.0
2
19
=====
3
20
- Add ` httpHeaders ` option.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " html-pdf" ,
3
- "version" : " 1.4 .0" ,
3
+ "version" : " 1.5 .0" ,
4
4
"description" : " HTML to PDF converter that uses phantomjs" ,
5
5
"main" : " lib/index.js" ,
6
6
"directories" : {
You can’t perform that action at this time.
0 commit comments