 
 
 (defn ^TemplateEngine template-engine
-  "
-  Instantiates a Thymeleaf TemplateEngine.
-  Paramenters:
+  " Instantiates a Thymeleaf TemplateEngine with the following options:
+
   :template-resolver-type - either :file, :url or :classpath, defaults to :classpath.
   :prefix                 - template file name prefix e.g ./test/templates/
   :suffix                 - Template file name suffix e.g .html
-  :cacheable              - whether to cache templates for better performance, defaults to true.
+  :cacheable              - whether to cache templates for better performance, defaults to false.
   "
   [& {:keys [prefix suffix cacheable template-resolver-type]
       :or {prefix nil



(defn render-file
  "Takes a context-map and renders a template as a String or to a java.io.Writer. Returns nil when output to a java.io.Writer."
  ([^TemplateEngine engine ^String template context-map]
   (render-file engine template context-map nil))
  ([^TemplateEngine engine ^String template context-map ^java.io.Writer writer]

           (.setVariable ctx (first kv) (second kv))))
       (if writer
         (.process engine template ctx writer)
         (.process engine template ctx))))))