A user recently asked if Coda supports previewing HTML in a Coda document. The short answer is that for security reasons we don’t support this. However, there is a secure workaround using embeds.
You can use a 3rd party service to author HTML then embed the result in your document. For instance, here’s a document with embedded HTML from CodePen:
To do this with CodePen:
- Go to https://codepen.io and create a free account
- Create a new pen
- Click Share in the bottom-right and choose Embed
- Grab the URL from the snippet of embed code
- Go to coda and add a new embed from the plus menu or via our Embed() formula
- Paste in the CodePen embed URL