stringifyText = (node, config, state) => {
  return (
    createIndent(config, state) +
    config.textStart +
    node.value.replace(config.regEntities, config.encodeEntity) +
    (state.textContext ? '' : config.textEnd)
  );
}
@param {import('./types.js').XastText} node
@param {Options} config
@param {State} state
@returns {string}