Update tech_docs/jinja2_framework.md
This commit is contained in:
@@ -3,7 +3,7 @@ What we are really looking at is two different answers to the same meta-question
|
|||||||
> “How much of the host language’s power do we allow to leak into a string that is *mostly* meant to be static markup?”
|
> “How much of the host language’s power do we allow to leak into a string that is *mostly* meant to be static markup?”
|
||||||
|
|
||||||
Everything else—syntax, loops, auto-escaping—are just surface symptoms of that deeper design choice.
|
Everything else—syntax, loops, auto-escaping—are just surface symptoms of that deeper design choice.
|
||||||
|
```plaintext
|
||||||
──────────────────────────────────────
|
──────────────────────────────────────
|
||||||
1. Language Leakage Spectrum
|
1. Language Leakage Spectrum
|
||||||
──────────────────────────────────────
|
──────────────────────────────────────
|
||||||
@@ -45,7 +45,7 @@ Imagine you have to hand your templates to a junior front-end contractor tomorro
|
|||||||
|
|
||||||
• With Jinja2 you will hand them a loaded gun and a safety manual.
|
• With Jinja2 you will hand them a loaded gun and a safety manual.
|
||||||
• With Go templates you will hand them a paintbrush and a locked-down palette.
|
• With Go templates you will hand them a paintbrush and a locked-down palette.
|
||||||
|
```
|
||||||
That single difference is the *meta* comparison.
|
That single difference is the *meta* comparison.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user