mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 23:00:30 +00:00
8 lines
179 B
JavaScript
8 lines
179 B
JavaScript
import nunjucks from 'nunjucks'
|
|
|
|
nunjucks.configure({autoescape: false});
|
|
|
|
export default function (template, context = {}) {
|
|
return nunjucks.renderString(template, context);
|
|
}
|