Expand description
Handlebars template processing.
Re-exportsยง
use std::collections::HashMap;๐use std::path::Path;๐use anyhow::Error;๐use handlebars::Context;๐use handlebars::Decorator;๐use handlebars::DirectorySourceOptions;๐use handlebars::Handlebars;๐use handlebars::Helper;๐use handlebars::HelperDef;๐use handlebars::HelperResult;๐use handlebars::Output;๐use handlebars::RenderContext;๐use handlebars::RenderError;๐use handlebars::RenderErrorReason;๐use handlebars::Renderable;๐use handlebars::handlebars_helper;๐use crate::format::Formatter;๐
Structsยง
- ManLink
Helper ๐ - Helper for
{{man name section}}expression. - Option
Helper ๐ - Helper for
{{#option}}block. - Options
Helper ๐ - Helper for
{{#options}}block. - lower
Functionsยง
- expand
- Processes the handlebars template at the given file.
- in_
options ๐ - Whether or not the context is currently inside a
{{#options}}block. - remove_
from_ ๐context - Removes a variable from the context.
- set_
decorator ๐ {{*set var=value}}decorator.- set_
in_ ๐context - Sets a variable to a value within the context.
Type Aliasesยง
- Formatter
Ref ๐