text: const { registerDom } = require('./dom')
  
  /**
   * @name registerHtml
   * @link https://tram-one.io/#register-html
   * @description
   * Function to generate a tagged template function for XHTML / HTML.
   * Takes in a registry that allows you to import other tag functions and use them in your template string.
   *
   * @param {object} [registry={}] map of tag names to functions, use this to use custom elements built in tram-one
   * @return {function} tagged template function that builds HTML components
   */
  const registerHtml = registry => {
  	return registerDom(null, registry)
  }
  
  /**
   * @name registerSvg
   * @link https://tram-one.io/#register-svg
   * @description
   * Function to generate a tagged template function for SVG.
   *
   * @param {object} [registry={}] map of tag names to functions, use this to use custom elements built in tram-one
   * @return {function} tagged template function that builds SVG components
   */
  const registerSvg = registry => {
  	return registerDom('http://www.w3.org/2000/svg', registry)
  }
  
  module.exports = { registerHtml, registerSvg }
  