Add request interception handler
Compare changes
- Fred Chasen authored
+ 22
− 17
@@ -17,23 +17,28 @@ pagedjs-cli ./path/to/index.html -o result.pdf
@@ -17,23 +17,28 @@ pagedjs-cli ./path/to/index.html -o result.pdf
--outline-tags [tags] Specifies that an outline should be generated for the resulting PDF document. [tags] specifies which HTML tags should be considered for that outline. "h1,h2" will trigger an outline with "h1" tags as root elements and "h2" elements as their childs.
--additional-script <script> Additional script tags which are added to the HTML document before rendering. This is useful for adding custom pagedjs handlers. The option can be repeated. (default: [])