Evaluate code in a pandoc document.