Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Conversation

@oluwafenyi
Copy link

We can now include a context into the start page for jinja templates. This is useful for adding code generated data, custom functions, iterators into the markup. I make use of this feature in a project below:
https://github.com/oluwafenyi/sudoku-solver/blob/master/sudoku.py

Copy link

@spookybear0 spookybear0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like an interesting idea, and it seemed simple enough to make. It looks good to me, because it only adds two lines of code but this is needed.

StephenChan added a commit to StephenChan/Eel that referenced this pull request Jul 11, 2023
Copied from python-eel#368 (but that changeset is based off of a 2020 version of Eel).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants