Markdown Table Generator - An Apple Shortcut to make your Markdown life easier
What was the Problem?
Markdown is a fantastic language to markup plain text in a way that still leaves the source readable - unlike HTML, for example. It has the ability to do tables, but they’re not very fun to work with. The markup is simple but still cumbersome.
| | AR | ER | IR | |---------------------|------|------|------| | Yo | o | o | o | | El/Ella | a | e | e | | Tu/Usted | as | es | es | | Nosotros | amos | emos | imos | | Vosotros | áis | éis | ís | | Ellos/Ellas/Ustedes | an | en | en |
To deal with this I wrote an Apple Shortcut that can generates a blank Markdown table of dimensions X by Y and conditionally includes a header row. It asks you to input the number of rows and columns you want when it runs and adds the result to your clipboard.
- Go to Settings -> Shortcuts,
- Enable Allow Untrusted Shortcuts,
- Click this link to install the shortcut,
- Run it from the app, the share sheet or the widget.
Feel free to email me if you have any problems!
– Finn 👋