lib/dmd.js
function dmd (templateData, options) {
  options = new DmdOptions(options)
  if (skipCache(options)) {
    return generate(templateData, options)
  } else {
    const cached = dmd.cache.readSync([ templateData, options, dmdVersion ])
    if (cached) {
      return cached
    } else {
      return generate(templateData, options)
    }
  }
}
function dmd (templateData, options) {
  options = new DmdOptions(options)
  if (skipCache(options)) {
    return generate(templateData, options)
  } else {
    const cached = dmd.cache.readSync([ templateData, options, dmdVersion ])
    if (cached) {
      return cached
    } else {
      return generate(templateData, options)
    }
  }
}
function dmd ( templateData , options ) { options = new DmdOptions ( options ) if ( skipCache ( options ) ) { return generate ( templateData , options ) } else { const cached = dmd . cache . readSync ( [ templateData , options , dmdVersion ] ) if ( cached ) { return cached } else { return generate ( templateData , options ) } } }
Transforms doclet data into markdown documentation.
@param {object[]}
@param [options] {module:dmd-options} - The render options
@return {string}
@alias module:dmd
Transforms doclet data into markdown documentation .