Marc Abramowitz
|
875df76b2f
|
Add Jinja2 and MarkupSafe (#359)
```javascript
_ = languagePluginLoader.then(() => {
// pyodide is now ready to use...
pyodide.loadPackage('Jinja2').then(() => {
pyodide.runPython(`
import jinja2
template = jinja2.Template('Hello {{ name }}!')
print(template.render(name='Zach'))
`);
});
});
```
|
2019-04-04 13:56:56 -04:00 |