Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ You can install `html2canvas` through npm or [download a built release](https://
```javascript
import html2canvas from 'html2canvas';
```

##cdn
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.js" integrity="sha512-sn/GHTj+FCxK5wam7k9w4gPPm6zss4Zwl/X9wgrvGMFbnedR8lTUSLdsolDRBRzsX6N+YgG6OWyvn9qaFVXH9w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
```
## Usage

To render an `element` with html2canvas with some (optional) [options](/configuration/), simply call `html2canvas(element, options);`
Expand Down