code: function renderTemplateText(template, data, options) {
      data = _.opts(data, {});
      options = _.opts(options, {noEscape: true, compact: false});
      // TODO: We should support recursively resolving, as in IB
      return hb.compile(template, options)(_.defaults(data, globalSettings), {helpers: globalHelpers});
    }
docs: Render text replacing handlebar references
  @function $hb~renderText
  @param {string} template - Template text
  @param {Object} [data] - Object containing substitutions to perform on the template. By default, it will
  render the text using $app properties.
  @param {Object} [options] - Handlebars options
  @param {string} [options.noEscape=true] - Set to false to HTML escape any content
  @param {string} [options.compact=false] - Set to true to enable recursive field lookup
  @returns {string} - The rendered text
  @example
  // Returns rendered text
  $hb.renderText(`
  [mysqld]
  port={{port}}
  basedir={{basedir}}
  `, {port: 3306, basedir: '/opt/bitnami/mysql'});
  // => [mysqld]
  basedir=/opt/bitnami/mysql
  port=3306