<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Jinja_use_custom_block_markers</id>
	<title>Jinja use custom block markers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tech.uvoo.io/index.php?action=history&amp;feed=atom&amp;title=Jinja_use_custom_block_markers"/>
	<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Jinja_use_custom_block_markers&amp;action=history"/>
	<updated>2026-04-24T22:31:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://tech.uvoo.io/index.php?title=Jinja_use_custom_block_markers&amp;diff=5083&amp;oldid=prev</id>
		<title>Busk: Created page with &quot;``` from jinja2 import Environment, FileSystemLoader  # Create a Jinja environment with custom variable markers custom_env = Environment(loader=FileSystemLoader('your_template...&quot;</title>
		<link rel="alternate" type="text/html" href="https://tech.uvoo.io/index.php?title=Jinja_use_custom_block_markers&amp;diff=5083&amp;oldid=prev"/>
		<updated>2024-03-06T23:08:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;``` from jinja2 import Environment, FileSystemLoader  # Create a Jinja environment with custom variable markers custom_env = Environment(loader=FileSystemLoader(&amp;#039;your_template...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;```&lt;br /&gt;
from jinja2 import Environment, FileSystemLoader&lt;br /&gt;
&lt;br /&gt;
# Create a Jinja environment with custom variable markers&lt;br /&gt;
custom_env = Environment(loader=FileSystemLoader('your_template_directory'),&lt;br /&gt;
                         block_start_string='[%',  # Change this to your desired start marker&lt;br /&gt;
                         block_end_string='%]')    # Change this to your desired end marker&lt;br /&gt;
&lt;br /&gt;
# Load your template&lt;br /&gt;
template = custom_env.get_template('your_template_file.html')&lt;br /&gt;
&lt;br /&gt;
# Render the template with your data&lt;br /&gt;
rendered_output = template.render(your_variable='some_value')&lt;br /&gt;
&lt;br /&gt;
# Print or use the rendered output as needed&lt;br /&gt;
print(rendered_output)&lt;br /&gt;
```&lt;/div&gt;</summary>
		<author><name>Busk</name></author>
	</entry>
</feed>