Skip to content

Commit b30337e

Browse files
committed
code highlight
1 parent fc54030 commit b30337e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README-zh.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
5252
然后可以使用 script 方式引入 umd 包,当然也可使用模块化方式 import。并且只有一个 API,使用如下:
5353

54-
```
54+
```js
5555
import CanvasNest from 'canvas-nest.js';
5656

5757
const config = {
@@ -77,7 +77,7 @@ cn.destroy();
7777

7878
Example:
7979

80-
```
80+
```html
8181
<script type="text/javascript" color="0,0,255" opacity='0.7' zIndex="-2" count="99" src="//cdn.bootcss.com/canvas-nest.js/x.x.x/canvas-nest.js"></script>
8282
```
8383

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Or import the `umd` package use `script` tag.
5353

5454
There is only one API, use it like:
5555

56-
```
56+
```js
5757
import CanvasNest from 'canvas-nest.js';
5858

5959
const config = {

0 commit comments

Comments
 (0)