package yocaml_mustache

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Plugin for describing templates using ocaml-mustache, an implementation of the logic-less templating engine Mustache.

Injection

Description of a pipeline for reading a template and injecting content.

module Pipeline : sig ... end

Describes the arrowized interface for reading a file as a template and injecting content and variables.

Data template

Describes the Yocaml_mustache module as a template engine. Allows the latter to be passed to any function requiring it.

type t = Mustache.Json.value
val from : Yocaml__.Data.t -> t
val render : ?strict:bool -> (string * t) list -> string -> string
OCaml

Innovation. Community. Security.