Skip to content

ZeroWave022/mdtables

Repository files navigation

.mdTables

A simple website for markdown table generation. Check out .mdTables now!

Generating markdown tables from files

The website also supports generating tables from files instead of filling out the data manually. You can do this here.

Currently, .json and .csv files are supported. Supported data structures are shown on the website, but you can find a copy of the examples below.

JSON: 2D Array format

[
    [
        "Product",
        "Price",
        "Next delivery"
    ],
    [
        "Bread",
        10,
        "Today"
    ],
    [
        "Butter",
        "25",
        "Tomorrow"
    ],
    [
        "Milk",
        "25",
        "Tomorrow"
    ],
    [
        "Ice cream",
        "40",
        "In 5 days"
    ]
]

JSON: Array of objects format

[
    {
        "Product": "Bread",
        "Price": 10,
        "Next delivery": "Today"
    },
    {
        "Product": "Butter",
        "Price": "25",
        "Next delivery": "Tomorrow"
    },
    {
        "Product": "Milk",
        "Price": "25",
        "Next delivery": "Tomorrow"
    },
    {
        "Product": "Ice cream",
        "Price": "40",
        "Next delivery": "In 5 days"
    }
]

CSV

Product,Price,Next delivery
Bread,10,Today
Butter,25,Tomorrow
Milk,25,Tomorrow
Ice cream,40,In 5 days

Contributing: Getting started

If you find any bugs when using .mdTables, please open an issue.

Feel free to contribute to the project by forking and opening pull requests!

After forking the project, simply install the packages needed with yarn: yarn install

License

This project is licensed under the Apache License 2.0.