💾 Archived View for finn.lesueur.nz › posts › markdown-table-prettifier › index.gmi captured on 2023-06-16 at 16:21:53. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
Welcome to my Gemini capsule. I am a Science and Physics teacher from Christchurch, New Zealand who writes code in his spare time, but would really rather be outside doing almost any type of sport! 🏔 🏃♂️ 🎿 🛶 🚴♂️ 🧗 🧘♂️
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.
<!--more-->
Before
`markdown
| | 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
`markdown
| | 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 |
`
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 👋
---------------