Dear Joyriders. This Calva build also has some new API.
• There's an calva/editor.replace. function that will replace a range in a document with the new text you provide. See https://github.com/BetterThanTomorrow/calva/blob/1843-pretty-print-code/docs/site/api.md#editor.
• A calva/pprint.prettyPrint function will take a string with Clojure code/data and return a string with a prettier version of the same code. See https://github.com/BetterThanTomorrow/calva/blob/1843-pretty-print-code/docs/site/api.md#pprint.