@@ -12,8 +12,12 @@ It looks easy, but sometimes you want to create basic table. Actually, I hate ab
12
12
13
13
## Usage
14
14
15
+
16
+
15
17
* ##### Basic table
16
18
19
+
20
+
17
21
```
18
22
[jtable]
19
23
Year,Make,Model,Length
@@ -29,54 +33,82 @@ Year,Make,Model,Length
29
33
| 1994 | Ford | E350 | 2.34 |
30
34
| 2000 | Mercury | Cougar | 2.38 |
31
35
36
+
37
+
38
+
32
39
* ##### More complicated
33
40
41
+
34
42
```
35
43
[jtable]
36
44
Year,Make,Model,Description,Price
37
45
1997,Ford,E350,ac,3000.00
38
46
1999,Chevy,Venture Extended Edition,,4900.00
39
47
1999,Chevy,Venture Extended Edition and Very Large,,5000.00
40
48
1996,Jeep,Grand Cherokee,MUST SELL!,4799.00
41
- [/jtable]```
49
+ [/jtable]
50
+ ```
51
+
52
+
53
+
42
54
| Year | Make | Model | Description | Price |
43
55
| ------| -------| ---------------------------------------------| ---------------| ---------|
44
56
| 1997 | Ford | E350 | ac | 3000.00 |
45
57
| 1999 | Chevy | Venture Extended Edition | | 4900.00 |
46
58
| 1999 | Chevy | Venture Extended Edition and Very Large | | 5000.00 |
47
59
| 1996 | Jeep | Grand Cherokee | MUST SELL! | 4799.00 |
60
+
61
+
48
62
* ##### Table with no heading
49
63
64
+
65
+
50
66
```
51
67
[jtable th="0"]
52
68
row1col1,row1col2,row1col3
53
69
row2col1,row2col2,row2col3
54
70
row3col1,row3col2,row3col3
55
71
[/jtable]
56
72
```
73
+
74
+
75
+
57
76
| | | |
58
77
| ----------| ----------| ----------|
59
78
| row1col1 | row1col2 | row1col3 |
60
79
| row2col1 | row2col2 | row2col3 |
61
80
| row3col1 | row3col2 | row3col3 |
62
81
82
+
83
+
84
+
63
85
* ##### Table with caption without heading
64
86
87
+
88
+
65
89
```
66
90
[jtable caption="This is caption" th="0"]
67
91
row1col1,row1col2,row1col3
68
92
row2col1,row2col2,row2col3
69
93
row3col1,row3col2,row3col3
70
94
[/jtable]
71
95
```
96
+
97
+
72
98
|| This is caption ||
73
99
| ----------| ----------| ----------|
74
100
| row1col1 | row1col2 | row1col3 |
75
101
| row2col1 | row2col2 | row2col3 |
76
102
| row3col1 | row3col2 | row3col3 |
103
+
104
+
77
105
or if you want heading and caption both , you can delete ``` th="0" ```
106
+
107
+
78
108
* ##### Table with auto index and It'll start from 1
79
109
110
+
111
+
80
112
```
81
113
[jtable ai="1"]
82
114
head1,head2,head3
@@ -86,24 +118,37 @@ row3col1,row3col2,row3col3
86
118
row4col1,row4col2,row4col3
87
119
[/jtable]
88
120
```
121
+
122
+
89
123
| No. | head1 | head2 | head3 |
90
124
| :----:| :-------:| :------:| :------:|
91
125
| 1 | row1col1 | row1col2 | row1col3 |
92
126
| 2 | row2col1 | row2col2 | row2col3 |
93
127
| 3 | row3col1 | row3col2 | row3col3 |
94
128
| 4 | row4col1 | row4col2 | row4col3 |
95
129
130
+
131
+
132
+
96
133
### Version
97
134
3.0.2
98
135
136
+
137
+
99
138
### Installation
100
139
101
140
Add the plugin path to your PLUGINS setting in the pelicanconf.py file.
102
141
103
- ```PLUGINS = [... ,
104
- 'just_table' , ... ]```
142
+
143
+
144
+ ``` PLUGINS = [... , 'just_table' , ... ] ```
145
+
146
+
105
147
### Todo's
148
+
106
149
- Read from CSV
107
150
151
+
152
+
108
153
### License
109
154
GPL
0 commit comments