mitsuhiko / minijinja

MiniJinja is a powerful but minimal dependency template engine for Rust compatible with Jinja/Jinja2
https://docs.rs/minijinja/
Apache License 2.0
1.56k stars 86 forks source link

What are the element types of Macro? #545

Closed sunkaifei closed 1 month ago

sunkaifei commented 1 month ago

{% macro render_input(name, value, type="text") -%}

How many data types are set in the type here? How to use it specifically?

sunkaifei commented 1 month ago

You can delete it now, I understand. The text here is the default value