{"category":"generate","endpoint":"https://setget.net/v1/tools/markdown-table","examples":[{"input":{"align":["left","right"],"headers":["Name","Age"],"rows":[["Sam",31],["Alex",27]]},"output":{"columns":2,"rows":2,"text":"| Name | Age |\n| :--- | --: |\n| Sam  |  31 |\n| Alex |  27 |"}},{"input":{"rows":[{"ok":true,"tool":"a|b"}]},"output":{"columns":2,"rows":1,"text":"| tool | ok   |\n| ---- | ---- |\n| a\\|b | true |"},"title":"Objects as rows; the pipe character is escaped"}],"input_schema":{"additionalProperties":false,"properties":{"align":{"description":"Alignment: left, center, right or none. One value for every column, or one per column.","examples":[["left","right"]],"maxItems":50,"type":"array"},"headers":{"description":"Column names. Leave out to use the object keys, or the first row.","examples":[["Name","Age"]],"maxItems":50,"type":"array"},"rows":{"description":"The rows: a list of lists, or a list of objects keyed by column name.","examples":[[["Sam",31],["Alex",27]]]}},"required":["rows"],"type":"object"},"keywords":["markdown table generator","markdown table","md table","github table","readme table","table formatter"],"related":["ascii-table","table-image","csv-to-markdown-table"],"slug":"markdown-table","summary":"Build a Markdown table from headers and rows, padded so the columns also line up as plain text.","tier":"inline","title":"Markdown table generator","url":"https://setget.net/tools/markdown-table"}
