const renderOptions = function()

in mkdocs.js [12:26]


const renderOptions = function (options) {
  if ( options.length === 0 ) {
    return '*This rule takes no options*'
  } else {
    return [
      'This rule takes the following options:'
    , ...options.map(function (opt, i) {
        return [
          `  ${i + 1}.  ${opt.description} (**${opt.type || "any"}**)`
        , `      default: \`${JSON.stringify(opt.def)}\``
        ].join('\n')
      })
    ].join('\n')
  }
}