Function
Convert
func Convert(headers []string, data []map[string]interface{}) (string, error)
Convert returns a Markdown table containing headers and data. The order of headers determines the column order. Each row is read by header key, and values use fmt's default formatting. Pipes, backslashes, and line breaks are escaped so they remain within their cells. Columns are padded to their widest cell. Convert returns an error when headers or data is empty.