{"id":18006312,"url":"https://github.com/lukakerr/mdtg","last_synced_at":"2025-03-26T11:34:29.621Z","repository":{"id":57637625,"uuid":"188405919","full_name":"lukakerr/mdtg","owner":"lukakerr","description":"Quickly generate markdown tables in your terminal using a simplistic specification","archived":false,"fork":false,"pushed_at":"2019-10-02T00:49:49.000Z","size":16,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T18:21:16.342Z","etag":null,"topics":["command-line-tool","markdown","markdown-table"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/mdtg","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lukakerr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-24T10:52:52.000Z","updated_at":"2024-03-11T11:55:47.000Z","dependencies_parsed_at":"2022-09-02T03:21:15.512Z","dependency_job_id":null,"html_url":"https://github.com/lukakerr/mdtg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukakerr%2Fmdtg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukakerr%2Fmdtg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukakerr%2Fmdtg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukakerr%2Fmdtg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukakerr","download_url":"https://codeload.github.com/lukakerr/mdtg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245644888,"owners_count":20649279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","markdown","markdown-table"],"created_at":"2024-10-30T01:07:52.439Z","updated_at":"2025-03-26T11:34:25.343Z","avatar_url":"https://github.com/lukakerr.png","language":"Rust","readme":"# Markdown Table Generator `mdtg`\n\n[![Crates.io](https://img.shields.io/crates/d/mdtg.svg)](https://crates.io/crates/mdtg)\n\nQuickly generate markdown tables in your terminal using a simplistic specification.\n\n### Installation\n\n#### `crates.io`\n\n```bash\n$ cargo install mdtg\n```\n\n#### Manual\n\n```bash\n$ git clone https://github.com/lukakerr/mdtg.git\n$ cargo run\n```\n\n### Usage\n\n```bash\n# Create a 4 by 4 table, without spaces in argument\n$ mdtg 4x4\n\n|        |        |        |        |\n| ------ | ------ | ------ | ------ |\n|        |        |        |        |\n|        |        |        |        |\n|        |        |        |        |\n|        |        |        |        |\n\n# Create a 3 by 5 table, with left, center and right aligned columns\n$ mdtg \"3lcr x 5\"\n\n|        |        |        |\n| ------ |:------:| ------:|\n|        |        |        |\n|        |        |        |\n|        |        |        |\n|        |        |        |\n|        |        |        |\n```\n\n### BNF Grammar\n\n```\nTable     -\u003e Column Cross Row\nColumn    -\u003e Num Positions\nRow       -\u003e Num\nNum       -\u003e Digit | Digit Num\nDigit     -\u003e [0-9]\nCross     -\u003e \"x\"\nPositions -\u003e Position | Position Positions\nPosition  -\u003e \"l\" | \"r\" | \"c\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukakerr%2Fmdtg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukakerr%2Fmdtg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukakerr%2Fmdtg/lists"}