From 6b125ed907ad040a68ef74b7c359e8abd7ee6d32 Mon Sep 17 00:00:00 2001 From: hacksalot Date: Mon, 29 Jan 2018 05:21:46 -0500 Subject: [PATCH] Support no-escape option for Handlebars themes. --- README.md | 9 +++++++++ dist/cli/main.js | 8 ++++++-- dist/renderers/handlebars-generator.js | 5 +++-- dist/verbs/build.js | 1 + src/cli/main.coffee | 3 +++ src/renderers/handlebars-generator.coffee | 4 ++-- src/verbs/build.coffee | 1 + 7 files changed, 25 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0bb81d1..c901a44 100644 --- a/README.md +++ b/README.md @@ -539,6 +539,15 @@ hackmyresume BUILD resume.json -d hackmyresume ANALYZE resume.json --debug ``` +### Disable Encoding + +Use the `--no-escape` option to disable encoding in Handlebars themes. Note: +this option has no effect for non-Handlebars themes. + +```bash +hackmyresume BUILD resume.json --no-escape +``` + ## Contributing HackMyResume is a community-driven free and open source project under the MIT diff --git a/dist/cli/main.js b/dist/cli/main.js index 9236369..bc388ce 100644 --- a/dist/cli/main.js +++ b/dist/cli/main.js @@ -87,7 +87,7 @@ Definition of the `main` function. dst = sources && sources.length > 1 ? [sources.pop()] : []; execute.call(this, sources, dst, this.opts(), logMsg); }); - program.command('build').alias('generate').option('-t --theme ', 'Theme name or path').option('-n --no-prettify', 'Disable HTML prettification', true).option('-c --css