inputoutput.py 文件源码

python
阅读 133 收藏 0 点赞 0 评论 0

项目:latex-pandoc-preprocessor 作者: JBorrow 项目源码 文件源码
def run_pandoc(content, extra=[]):
    """ Creates a temporary file, runs pandoc TeX->MD on it (with content)
    and then reopens and returns the string. """
    print("Running Pandoc (LT -> MD)")
    output = pypandoc.convert_text(content, "md", format="latex", extra_args=extra)

    return output
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号