Metadata-Version: 2.4
Name: yamlrender
Version: 1.0.18
Summary: yamlrender takes a YAML file and a rendr template and renders a HTML or PDF file, populating the variables in the rendr template with data from your YAML file.
Author-email: Mizuki Hikaru <mizuki@hikaru.org>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: littleyaml
Requires-Dist: rendr
Dynamic: license-file

# yamlrender

yamlrender takes a YAML file and a Jinja2 template and renders a HTML or PDF
file, populating the variables in the Jinja2 template with data from your YAML
file.

## Installation

    pip install yamlrender

## Usage

    yamlrender input.yaml template.html output.html
    yamlrender input.yaml template.html output.pdf

Or in Python, you can use it like this:

    from yamlrender import yamlrender

    yamlrender("input.yaml", "template.html", "output.html")
    yamlrender("input.yaml", "template.html", "output.pdf")

## mymarkup support

You can use mymarkup in your YAML file and render it like this in the template:

    {{ some_variable | mymarkup }}
