diff --git a/TODO.md b/TODO.md index c2f5f55..4413585 100644 --- a/TODO.md +++ b/TODO.md @@ -1,13 +1,14 @@ # TODO list - hot keys for InfoPage -- Download project button +- ! Download project button - switch monaco themes - nice css styles - support of smartphones - replace font awesome 4 for something light https://github.com/danklammer/bytesize-icons - load files with full path +- dot files visualization ? Matlab language support ? dot language support ? platform.yml @@ -15,5 +16,3 @@ ? file content manager ## Errors - -- ' ??? in export diff --git a/nunjucks.config.js b/nunjucks.config.js new file mode 100644 index 0000000..d03489f --- /dev/null +++ b/nunjucks.config.js @@ -0,0 +1,7 @@ +// this can be removed for futute versions of heta-compiler +let xxx = require('heta-compiler/src/nunjucks-env'); + +module.exports = function(env){ + env.opts.autoescape = false; + xxx(env); +} \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index ed5d7f3..f494e34 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -64,7 +64,7 @@ const config = { test: /\.(njk|nunjucks)$/, loader: 'nunjucks-loader', options: { - config: __dirname + '/node_modules/heta-compiler/src/nunjucks-env', + config: __dirname + '/nunjucks.config.js', // '/node_modules/heta-compiler/src/nunjucks-env', //quiet: true // Don't show the 'Cannot configure nunjucks environment before precompile' } }