Collaborating with your team on code (and more) has never been easier with 2 exciting updates to code blocks and version history.
We get it. Sometimes, you just want to TypeScript instead of writing Plain Text. For those times, Coda now supports syntax formatting for code blocks! With nearly 100 languages supported, including Python, JavaScript, and Coda’s own formula language, creating, and reading technical documentation just got easier, smoother, and better looking to boot.
These new code blocks work just like the old simple code blocks — you can drag and drop them around your doc, collapse them into headers, and copy and paste pieces as you wish. Have questions about a specific line? Comment on it or even suggest changes so your team can resolve issues right from your doc.
With new code blocks, you can also select and change the code language from the block and your formatting will adapt, or use the copy button to grab your code to-go without scrolling. You can insert new code blocks and take these actions from within a text or canvas column, in addition to your doc canvas. If you have existing code blocks in your docs that you’d like to convert to the new syntax, you can do so by clicking the upgrade button in the upper right corner above the block.
We can’t want to see how you integrate code blocks into your docs to take full advantage of the flexibility of Coda — try it out by typing /code block
anywhere in your doc.
We’ve also added a page-only view for doc history, so you can always see where you’ve been and where you need to go.
Before, it could be difficult to parse the version history for your entire doc to find the change(s) you’re looking for. Now, you can easily step through changes for a relevant page, without being distracted by the changes made on other pages.
We hope these updates allow you to create better documentation and more efficiently collaborate with your team in Coda. Try it out and let us know what you think!