man-group / pytest-plugins

A grab-bag of nifty pytest plugins
MIT License
568 stars 85 forks source link

Use `pypandoc.convert_text` instead of `pypandoc.convert` #205

Open shmpwk opened 2 years ago

shmpwk commented 2 years ago

Currently, pypandoc does not have convert function. https://github.com/NicklasTegner/pypandoc/blob/master/pypandoc/__init__.py pypandoc only has convert_file or convert_text.

Actually pypandoc previously have convert function like https://github.com/NicklasTegner/pypandoc/blob/c06d7b64a58729fa174b7721dac6c600fad166af/pypandoc/__init__.py

Related issue https://github.com/man-group/pytest-plugins/issues/87