Skip to content

Commit 311b7c2

Browse files
committed
More readme formatting
1 parent 3502c49 commit 311b7c2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ html2pdf converts any webpage or element into a printable PDF entirely client-si
77
There are two ways to install html2pdf:
88

99
1. **NPM:** Use `npm install --save html2pdf` to add html2pdf and its dependencies to your project.
10-
2. **HTML:** Download `dist/html2pdf.bundle.min.js` to your project folder and include it in your HTML with:
11-
12-
`<script src="html2pdf.bundle.min.js"></script>`.
10+
2. **HTML:** Download `dist/html2pdf.bundle.min.js` to your project folder and include it in your HTML with: `<script src="html2pdf.bundle.min.js"></script>`.
1311

1412
Once installed, html2pdf is ready to use. This command will generate a PDF of `#element-to-print` and prompt the user to save the result:
1513

@@ -18,7 +16,7 @@ var element = document.getElementById('element-to-print');
1816
html2pdf(element);
1917
```
2018

21-
**Note:** html2pdf **will not run in Node.js**, it must be run in a browser.
19+
*Note: html2pdf **will not run in Node.js**, it must be run in a browser.*
2220

2321
*[Click here](#dependencies) for more information about using the unbundled version `dist/html2canvas.min.js`.*
2422

0 commit comments

Comments
 (0)