Skip to content

Commit 05eb7f9

Browse files
bugfix
1 parent 88113c7 commit 05eb7f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Web component implementation of a trend-line.
1010

1111
Import `trend-line` and set CSS custom properties:
1212

13-
html```
13+
```html
1414
<head>
1515
<script type="module">
1616
import "https://cdn.skypack.dev/@nextbitlabs/trend-line";
@@ -31,15 +31,15 @@ html```
3131

3232
Use the custom element:
3333

34-
html```
34+
```html
3535
<body>
3636
<trend-line width="100" height="100" margin="20"></trend-line>
3737
</body>
3838
```
3939

4040
Set the data to plot:
4141

42-
html```
42+
```html
4343
<script>
4444
const element = document.querySelector("trend-line");
4545
element.data = [[1, 3], [2, 5], [3, 2]];

0 commit comments

Comments
 (0)