Open shawnbot opened 7 years ago
This might actually be a better format for input to the unit tests for each format, too... something like:
# e.g. for PHP
converts:
'{{ foo }}': '<?= $foo ?>'
'{{ foo | escape }}': '<?= htmlspecialchars($foo) ?>'
It should be possible to generate a matrix of support for specific features from a set of Nunjucks template snippets. For instance, these roughly map to the more common AST node types: