Update for pandoc compatibility