showdoc.show_doc(render_to_remove)Template related things
We need a rendering function capable of renderering a `template`, with `filters` and `context variables`...
render_to_remove
render_to_remove (template:str, filters:Optional[dict]=None, **kwargs:Any)
| Type | Default | Details | |
|---|---|---|---|
| template | str | template in string form | |
| filters | Optional | None | jinja filters |
| kwargs | Any | ||
| Returns | str |
Let's wrap up the rendering function from the `core` into an usable class
Template loading
We will need a way to get the templates
Tying rendering and loading together
And finally, put these 2 together to form a class to render a Data instance
The entry point for this class, after __init__, is the process method