reportcompiler.plugins.template_renderers.rmarkdown

rmarkdown.py

This module includes the template renderer using rmarkdown.

Classes

class reportcompiler.plugins.template_renderers.rmarkdown.RMarkdownRenderer

Template renderer for RMarkdown.

Inheritance

Inheritance diagram of RMarkdownRenderer
included_templates(content)

Returns the included templates in the specified content.

Parameters:content (str) – Template content
Returns:List of included templates
Return type:list
render_template(doc_param, context)

Renders the template after the context is generated for all fragments.

Parameters:
  • doc_param (OrderedDict) – Document variable
  • context (dict) – Context dictionary with keys ‘data’ (context generated from fragments) and ‘meta’ (document metadata)