Markdown Table Prettifier - A Scriptable action to make your Markdown tables more readable.

Posted:
Updated:

Gitlab: Markdown Table Prettifier

This is a small Scriptable action (JS) that prettifies Markdown tables for better readability.

Simply highlight the text containing the table(s), open the Share Sheet and run the script from Scriptable. You can highlight your whole document and it will find all the tables within it and prettify them all.

Before

|   | 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 |

After

|                      | 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    |

Installation

  1. Install Scriptable
  2. Download the script
  3. Place it in the Scriptable folder in your iCloud Drive
  4. Open your text editor, highlight the text and go!

Feel free to open an issue if you encounter any problems!

– Finn 👋