The hard part is figuring out what the format should look like (a labor of love that he spent months if not years on, iteratively refining), not the implementation (which is a hacky ball of perl).
That format is essentially (sans the link syntax) what plaintext email has been looking like for decades. I don't get the whole praise for Gruber of "inventing" something novel. It's not.