Skip to content

Commit 2c4e54a

Browse files
committed
update readme
1 parent 440542c commit 2c4e54a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,27 @@ Then our plugin help you. Since markdown syntax support embedded HTML, we can gi
6262

6363
The `<div>` is not display. But it's attribute `data-class` will pass to the next element as className. Now using Browser's developer-tools, you can fing the table has one more className "nw2". That's what the plugin done.
6464

65+
the result is that the rendered `<table>` will has a `nw2` class, just like:
66+
67+
``` html
68+
<div class="css-passenger" data-class="nw2"></div>
69+
<table class="nw2">...</table>
70+
```
71+
6572
Our style file let `table.nw2` 's second column not be wrapped. Else if you want other column not be wrapped too, just add more class:
6673

6774
``` html
6875
<div class="css-passenger" data-class="nw1 nw2"></div>
6976

77+
| Col 1 | Col 2 | Col 3 |
78+
| :---: | --- | --- |
79+
| content 1 | content 2 | content 3 |
80+
7081
<div class="css-passenger" data-class="nw1 nw2 nw3"></div>
7182

83+
| Col 1 | Col 2 | Col 3 |
84+
| :---: | --- | --- |
85+
| content 1 | content 2 | content 3 |
7286
...
7387
```
7488

0 commit comments

Comments
 (0)