packages/@vuepress/core/lib/node/build/index.js
function renderAttrs (attrs = {}) {
  const keys = Object.keys(attrs)
  if (keys.length) {
    return ' ' + keys.map(name => `${name}="${escape(attrs[name])}"`).join(' ')
  } else {
    return ''
  }
}
function renderAttrs (attrs = {}) {
  const keys = Object.keys(attrs)
  if (keys.length) {
    return ' ' + keys.map(name => `${name}="${escape(attrs[name])}"`).join(' ')
  } else {
    return ''
  }
}
function renderAttrs ( attrs = { } ) { const keys = Object . keys ( attrs ) if ( keys . length ) { return ' ' + keys . map ( name => ` ${ name } ${ escape ( attrs [ name ] ) } ` ) . join ( ' ' ) } else { return '' } }
Render html attributes

@param {Object} attrs
@returns {string}
Render html attributes