When you create your own Markup function or Processor you have access to the State object.
The State object contains: