![]() ![]() ![]() Luckily there’s an easy workaround for this, which is using an iframe to embed your content (from a separate HTML file) in the Smart Object. That is the case with animations made with Hype, as we will see in a minute. These fixes can be trivial for small amounts of code but pretty annoying if you include a lot of code, or in case you are including ready-to-use content exported from external applications, which you do not want to edit at all. ![]() The code editor will warn you if you are writing non-XHTML code, but fixing the issue is up to you. For example, while is valid HTML, it would be required to write in XHTML. Basically, XHTML requires that there be an end tag to every start tag and all nested tags must be closed in the right order. It does not allow omission of any tags or use of attribute minimization. XHTML is a family of XML languages which extend or mirror versions of HTML. You can write code yourself or include ready-to-use content or widgets made with external applications this can be easily achieved by importing the needed assets in your PubCoder project and using a Smart Object as a container on your page.Ī minor issue with this approach is that code from external sources is often based on HTML5 while PubCoder works with XHTML, since this format ensures compatibility with EPUB format and better tooling for code parsing and handling. One of the most loved features in PubCoder is the ability to extend its capabilities with custom code and content based on web standards like HTML, CSS and Javascript. ![]()
0 Comments
Leave a Reply. |