Struct minimad::SubTemplateExpander [−][src]
pub struct SubTemplateExpander<'s, 'b> { /* fields omitted */ }
Expand description
an expander for a sub template. You get it using the sub
method
of the text expander
Implementations
impl<'s, 'b> SubTemplateExpander<'s, 'b>
[src]
impl<'s, 'b> SubTemplateExpander<'s, 'b>
[src]pub fn set(
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
[src]
pub fn set(
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
[src]replace placeholders with name name
with the given value, not interpreted as markdown
pub fn set_md(
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
[src]
pub fn set_md(
&mut self,
name: &'b str,
value: &'s str
) -> &mut SubTemplateExpander<'s, 'b>
[src]replace placeholder with name name
with the given value, interpreted as markdown