package yocaml_mustache
Yocaml plugin for using Mustache as a template language
Install
Dune Dependency
Authors
Maintainers
Sources
yocaml-2.3.0.tbz
sha256=216c47d4d954a1e210437101a46736a09fb2e198baf12657c13ade8f24aab7cb
sha512=3bef1e6e93644f860d5b4e72b392530eb0d5ba0ae2cabe198b85b90b92cfd2ad19ff0416d77d46760bcd63b9561c409ef1ecfb11ccacef8e474e7a231234b623
doc/yocaml_mustache/Yocaml_mustache/index.html
Module Yocaml_mustache
Source
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.
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.
The type that describes the template language.
from data
Transforms a normalized data representation (data
) into an associative list of data that can be injected into a template.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page