logoalt Hacker News

stormytoday at 2:58 AM1 replyview on HN

Most ascii/unicode based diagrams spit out by AI have misaligned boxes, similar to the ones generated in the article.

I’m not affiliated, but to clean them up you can use something like ascii-guard (https://github.com/fxstein/ascii-guard) which is a linter that will clean it up. Beats doing it by hand after multiple attempts telling AI to do it and repeatedly fail.


Replies

alumictoday at 10:11 AM

Thank you! Open source truly is a gift.