— dcai 28 Apr 20
Today I was trying to convert some markdown files to dokuwiki format with pandoc, it came into my mind that I could use pandoc to format plaintext files, for example, github favoured markdown:
pandoc -f gfm -t gfm readme.md --columns=88
This could format the content and wrap line at column 88.
So I quickly hacked together an ale fixer which could automatically fix formatting issues on save for pretty much all plaintext files, markdown, wiki, org, even csv, you name it :)
Some interesting findings today: