|
| 1 | +### with width |
| 2 | + |
| 3 | +<CH.Code debug > |
| 4 | + |
1 | 5 | ```js
|
2 |
| -foo |
3 |
| -// link(1:2) https://codehike.org |
4 |
| -const hi = 'hi' |
5 |
| -const hi = 'hi' |
6 |
| -const hi = 'hi' |
7 |
| -// link[2:18] https://codehike.org |
8 |
| -hello world |
9 |
| -hello |
| 6 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 7 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
10 | 8 | ```
|
| 9 | + |
| 10 | +</CH.Code> |
| 11 | + |
| 12 | +<CH.Code> |
| 13 | + |
| 14 | +```js |
| 15 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 16 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 17 | +``` |
| 18 | + |
| 19 | +</CH.Code> |
| 20 | + |
| 21 | +### with width |
| 22 | + |
| 23 | +<CH.Code debug style={{width: 400}}> |
| 24 | + |
| 25 | +```js |
| 26 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 27 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 28 | +``` |
| 29 | + |
| 30 | +</CH.Code> |
| 31 | + |
| 32 | +<CH.Code style={{width: 400}}> |
| 33 | + |
| 34 | +```js |
| 35 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 36 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 37 | +``` |
| 38 | + |
| 39 | +</CH.Code> |
| 40 | + |
| 41 | +### with zoom |
| 42 | + |
| 43 | +<CH.Code debug maxZoom={0.7} minZoom={0.7}> |
| 44 | + |
| 45 | +```js |
| 46 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 47 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 48 | +``` |
| 49 | + |
| 50 | +</CH.Code> |
| 51 | + |
| 52 | +<CH.Code maxZoom={0.7} minZoom={0.7}> |
| 53 | + |
| 54 | +```js |
| 55 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 56 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 57 | +``` |
| 58 | + |
| 59 | +</CH.Code> |
| 60 | + |
| 61 | +### with line numbers |
| 62 | + |
| 63 | +<CH.Code debug lineNumbers> |
| 64 | + |
| 65 | +```js |
| 66 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 67 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 68 | +``` |
| 69 | + |
| 70 | +</CH.Code> |
| 71 | + |
| 72 | +<CH.Code lineNumbers> |
| 73 | + |
| 74 | +```js |
| 75 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 76 | +const = "hello" + "hello" + "hello" + "hello" + "hello" + "hello"+ "hello" + "goodbye" |
| 77 | +``` |
| 78 | + |
| 79 | +</CH.Code> |
0 commit comments