Sample templates for download
This article contains links to sample templates that you can use as a starting point.
This is a template that ships with Clarify. It generates HTML files.
This template shows how to customize your own Markdown template. It includes a markdown_process.php file with the template that includes the image width and height parameters in the image reference. In addition, the template hi_res_images property is set to true so that the full-size image is exported for screen captures taken on high-resolution monitors.
This template passes the text in the Clarify document directly through with only minor modifications. The document and step titles have Markdown added but the description and instructions pass through. This allows you to write your Clarify document in Markdown and then use this HTML template to export it as-is.
This template outputs HTML with images that are tagged for use with Shadowbox. The HTML is appropriate for WordPress export. The template will create a full size version of any image over 540 pixels and if Shadowbox is available then clicking on the thumbnail version will display the full-size image. You can change the maximum image dimensions in the config.xml file.
This template uses a copy of the printArticleHTML function from the helpers.php file so that the output can be customized.