有没有办法隐藏/删除 MyST 特定的语法,以便可以使用常规 Markdown 解析器?
我通常使用 ReST 和 Sphinx 来生成文档,但我正在处理预先存在的 Markdown 系统。我想使用 MyST 和 Sphinx 生成带有参考和 autodoc 的文档,但也使其可用于现有系统。有没有办法自动从 Markdown 文件中删除 MyST 特定的语法?
我尝试使用常规 Markdown 解析器渲染 MyST 语法,并且 MyST 特定的语法要么被视为常规文本,要么被视为代码块。
I usually use ReST and Sphinx for generating documentation, but I'm dealing with a pre-existing Markdown system. I'd like to use MyST and Sphinx to generate documentation with references and autodoc, but make it available to the existing system as well. Is there a way to automatically strip out the MyST-specific syntax from the Markdown files?
I tried just rendering MyST syntax with a regular Markdown parser and the MyST-specific syntax was either treated as regular text or a code block.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论