From 692bed25a6af6c2b6c26383127d87d0c9db29d02 Mon Sep 17 00:00:00 2001 From: dsh Date: Mon, 4 Nov 2024 10:14:48 +0000 Subject: [PATCH] add jinja2 to python roadmap --- .../content/jinja2@nieX0y5ObncvgRVZYYigT.md | 8 +++++ src/data/roadmaps/python/python.json | 34 +++++++++++++++++-- 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 src/data/roadmaps/python/content/jinja2@nieX0y5ObncvgRVZYYigT.md diff --git a/src/data/roadmaps/python/content/jinja2@nieX0y5ObncvgRVZYYigT.md b/src/data/roadmaps/python/content/jinja2@nieX0y5ObncvgRVZYYigT.md new file mode 100644 index 000000000..89a1dd87b --- /dev/null +++ b/src/data/roadmaps/python/content/jinja2@nieX0y5ObncvgRVZYYigT.md @@ -0,0 +1,8 @@ +# Jinja2 + +Jinja2 is a popular templating engine for Python that allows you to generate dynamic HTML, XML, or other text formats. It features a simple yet powerful syntax with template inheritance, filters, macros, and automatic HTML escaping for security. Commonly used with web frameworks like Flask, Jinja2 enables developers to embed Python-like expressions and logic within template files while maintaining a clean separation between application logic and presentation. + +Learn more from the following resources: + +- [@official@Jinja Website](https://jinja.palletsprojects.com/en/stable/) +- [@video@Introduction to Jinja2 Templating](https://www.youtube.com/watch?v=OraYXEr0Irg) \ No newline at end of file diff --git a/src/data/roadmaps/python/python.json b/src/data/roadmaps/python/python.json index 52071bc82..d94e7f19b 100644 --- a/src/data/roadmaps/python/python.json +++ b/src/data/roadmaps/python/python.json @@ -260,10 +260,10 @@ }, "zIndex": -999, "width": 371, - "height": 118, + "height": 171, "style": { "width": 371, - "height": 118 + "height": 171 }, "resizing": false, "positionAbsolute": { @@ -3667,6 +3667,36 @@ "focusable": true, "resizing": false, "selectable": true + }, + { + "id": "nieX0y5ObncvgRVZYYigT", + "type": "subtopic", + "position": { + "x": -599.8231176820491, + "y": 1277.64342674736 + }, + "selected": false, + "data": { + "label": "Jinja2", + "style": { + "fontSize": 17, + "justifyContent": "flex-start", + "textAlign": "center" + } + }, + "zIndex": 999, + "width": 338, + "height": 49, + "positionAbsolute": { + "x": -599.8231176820491, + "y": 1277.64342674736 + }, + "dragging": false, + "style": { + "width": 338, + "height": 49 + }, + "resizing": false } ], "edges": [