fromString package:pandoc

Parse contents of str using parser and return result.
Like parseFromString but specialized for ParserState. This resets stateLastStrPos, which is almost always what we want.