560
DOGE employee
(lemmy.world)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Prettier doesn't make my markdown table prettier tho. This is what i did
prompt
Given the following markdown table
Align the vertical bar. Align number to the left
output
Here's the table with the vertical bars aligned and numbers left-aligned:
Each column has been padded so that the vertical bars line up consistently, and the numbers are aligned to the left as requested.
yeah, you formatted a markdown table. now you're just repeating yourself. Prettier handles that just fine. I have the Prettier VSCode extension and set it as default formatter on save and this gets done automatically for me.
before:
after:
Didn't require a small lake of water and a gigawatt of electricity to compute.. it even works offline!