File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ I love Markdown but its tables use a lot of characters and takes time to make. I
6
6
7
7
To fix this issue, I wrote a CSV to HTML table converter that can convert CSV within my Markdown files into HTML tables.
8
8
9
- Features:
9
+ ## Features
10
10
11
11
- Commas are used as the delimiter, to include a literal comma within a cell, use a backslash to escape it ` \, `
12
12
- Escaped commas ` \, ` are converted back into normal commas
@@ -46,7 +46,7 @@ Charlie , 35 , San Francisco
46
46
</table>
47
47
```
48
48
49
- <table ><tr ><th >Product </th ><th >Price </th ><th >Stock </th ></tr ><tr ><td >Laptop </td ><td >999 </td ><td >10 </td ></tr ><tr ><td >Smartphone </td ><td >499 </td ><td >25 </td ></tr ></table >
49
+ <table ><tr ><th >Name </th ><th >Age </th ><th >Location </th ></tr ><tr ><td >Alice </td ><td >30 </td ><td >New York </td ></tr ><tr ><td >Bob </td ><td >25 </td ><td >Los Angeles</ td ></ tr >< tr >< td >Charlie</ td >< td >35</ td >< td >San Francisco </td ></tr ></table >
50
50
51
51
```
52
52
<table>
@@ -56,4 +56,5 @@ Laptop , 999 , 10
56
56
Smartphone , 499 , 25
57
57
</table>
58
58
```
59
- <table ><tr ><th >Name</th ><th >Age</th ><th >Location</th ></tr ><tr ><td >Alice</td ><td >30</td ><td >New York</td ></tr ><tr ><td >Bob</td ><td >25</td ><td >Los Angeles</td ></tr ><tr ><td >Charlie</td ><td >35</td ><td >San Francisco</td ></tr ></table >
59
+
60
+ <table ><tr ><th >Product</th ><th >Price</th ><th >Stock</th ></tr ><tr ><td >Laptop</td ><td >999</td ><td >10</td ></tr ><tr ><td >Smartphone</td ><td >499</td ><td >25</td ></tr ></table >
You can’t perform that action at this time.
0 commit comments