forked from reviewjs/annotate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplain-html.html
More file actions
29 lines (27 loc) · 834 Bytes
/
Copy pathplain-html.html
File metadata and controls
29 lines (27 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>annotate.js — plain HTML example</title>
</head>
<body>
<h1>Any static page</h1>
<p>
This is all it takes. The single script tag at the bottom of the page adds
the full review toolbar. Select this paragraph to highlight it, or press
<kbd>R</kbd> to draw a rectangle.
</p>
<!--
The whole installation: one script tag before </body>.
In production, point this at the CDN:
<script src="https://cdn.jsdelivr.net/npm/@reviewjs/annotate/annotate.js" defer></script>
-->
<script
src="https://cdn.jsdelivr.net/npm/@reviewjs/annotate/annotate.js"
data-project="my-static-site"
data-accent="#0ea5e9"
defer
></script>
</body>
</html>