code: function augmentFactory(options) {
      /**
       * Apply custom augmentation
       *
       * @param {Object} bemNode - representation of bem entity
       * @returns {Object} bemNode
       */
      function augment(bemNode) {
  
          if (bemNode.block === 'md-root') {
              bemNode.isRoot = true;
          }
  
          if (options.html) {
              bemNode = augmentHtml(bemNode, options.html);
          }
  
          if (options.map) {
              bemNode = augmentMap(bemNode, options.map);
          }
  
          if (options.prefix) {
              bemNode = augmentPrefix(bemNode, options.prefix);
          }
  
          if (options.scope) {
              bemNode = augmentScope(bemNode, options.scope);
          }
  
          if (bemNode.isRoot) delete bemNode.isRoot;
  
          return bemNode;
      }
  
      return augment;
  }
docs: create augment function with options
  
  @param {MDConverter~AugmentOptions} options - augmentation options
  @returns {Function}