pub fn render_content(&mut self,
                          globals: &liquid::Object,
                          parser: &template::LiquidParser,
                          syntax_theme: &str)
                          -> Result<()> {
        let content_html = self.render_html(&self.content, globals, parser, syntax_theme)?;
        self.attributes
            .insert("content".to_owned(), Value::Str(content_html.clone()));
        Ok(())
    }
/// Renders the content and adds it to attributes of the document.
///
/// When we say "content" we mean only this document without extended layout.
Renders the content and adds it to attributes of the document.
When we say "content" we mean only this document without extended layout.
Renders the content and adds it to attributes of the document . When we say " content " we mean only this document without extended layout .
pub fn render_content(&mut self,
                          globals: &liquid::Object,
                          parser: &template::LiquidParser,
                          syntax_theme: &str)
                          -> Result<()> {
        let content_html = self.render_html(&self.content, globals, parser, syntax_theme)?;
        self.attributes
            .insert("content".to_owned(), Value::Str(content_html.clone()));
        Ok(())
    }
pub fn render_content ( & mut self , globals : & liquid :: Object , parser : & template :: LiquidParser , syntax_theme : & str ) -> Result < ( ) > { let content_html = self . render_html ( & self . content , globals , parser , syntax_theme ) ? ; self . attributes . insert ( " " . to_owned ( ) , Value :: Str ( content_html . clone ( ) ) ) ; Ok ( ( ) ) }
Renders the content and adds it to attributes of the document.
Renders the content and adds it to attributes of the document .
&mut self
globals
&liquid::Object
parser
&template::LiquidParser
syntax_theme
&str
&mut self
globals
&liquid::Object
parser
&template::LiquidParser
syntax_theme
&str