package yocaml_mustache
Yocaml plugin for using Mustache as a template language
Install
dune-project
Dependency
Authors
Maintainers
Sources
yocaml-2.4.1.tbz
sha256=cfc7c139116d6881b1d0bc7af706b8f8ceb6cd1f5be67d621944388731ab9d6c
sha512=9d1a075a6a9d3c8bae9ae4e389ada0a5b7818b3993ef9dd45af65070434b86bb56c349db5d0149134d449495415c28e2bfca993a20d5e4b7d16263f7231334c3
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