FormulaConverter implementation: find math content from pandoc output