src/anchorSlugger.js
function getMarkedId (text) {
  return entities.decode(text)
    .toLowerCase()
    .trim()
    .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~_]/g, '')
    .replace(/\s/g, '-')
}
function getMarkedId (text) {
  return entities.decode(text)
    .toLowerCase()
    .trim()
    .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~_]/g, '')
    .replace(/\s/g, '-')
}
function getMarkedId ( text ) { return entities . decode ( text ) . toLowerCase ( ) . trim ( ) . replace ( / [\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~_] / g , '' ) . replace ( / \s / g , '-' ) }
getMarkedId - anchors used in `npm i marked`
@private
@see: https://github.com/markedjs/marked/blob/master/lib/marked.js#L1306
getMarkedId - anchors used in npm i marked