Mar 3, 2022
This is a very logical idea, and I find it more appealing the more I think about it.
I have one quibble: to help people ease into it if nothing else, I think you should plan on storing a non-normalized file, that people can edit freely, and is saved as-is.
This means I could use your various viewers to view my existing codebase, and not have to change a line!
This lets me experiment with your system and commit to nothing; or I can use your viewer on code in a larger system I can't change.
If I wanted to, I could apply one of your formatters and then resave my original file.