"the ability to transform a Preformatted block into a Code block."

I finally got round to pulling together a starter list of css styles and block transformation options (see https://garyt.xyz/ki), and this was an obvious omission; I think all transformations should be bi-directional where possible. Better table manipulation would be handy as well.