Use HTML editor, switch to developer mode in settings /documents and copy and paste to the type edit screen. make sure put CSS is used, otherwise PDF rendering might not be ideal
Tagged: #template