Update docs 3
This commit is contained in:
parent
3b3ed3aef7
commit
08e1ea25c3
2
index.js
2
index.js
@ -350,7 +350,7 @@ if (!args || args.help) {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (fields.length > 0) {
|
if (fields.length > 0) {
|
||||||
doc += "| N | Field name | Field type |\n| - | - | - |\n";
|
doc += "| N | Field name | Field type |\n| --- | --- | --- |\n";
|
||||||
for (let i = 1; i <= fields.length; i++) {
|
for (let i = 1; i <= fields.length; i++) {
|
||||||
if (fields[i]) {
|
if (fields[i]) {
|
||||||
doc += `| ${i} | ${fields[i].name} | ${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')} |\n`;
|
doc += `| ${i} | ${fields[i].name} | ${(types.test(fields[i].type) ? fields[i].type : '['+fields[i].type+'](#'+fields[i].type+')')} |\n`;
|
||||||
|
Loading…
Reference in New Issue
Block a user