Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 代码块渲染失败 #583

Open
QAQQL opened this issue Mar 28, 2023 · 3 comments
Open

[BUG] 代码块渲染失败 #583

QAQQL opened this issue Mar 28, 2023 · 3 comments
Assignees

Comments

@QAQQL
Copy link

QAQQL commented Mar 28, 2023

BUG描述 | Describe the bug
有段shell代码块在显示到前端时未被渲染成功

复现方法 | To Reproduce
代码如下

<script src="https://gist.github.com/QAQQL/12f003488e327532274504f267e008bd.js"></script>

html渲染如下

<script src="https://gist.github.com/QAQQL/acc761cfef83bb2d5dd09a2fef7834ab.js"></script>

期望行为 | Expected behavior
图片

截图 | Screenshots
图片

调试信息 | Debugging info
wp-editormd-debug-info

其他内容 | Additional context
可能与代码中包含$有关,可以和#488 中我提交的issue一起排查看看

@LuRenJiasWorld
Copy link
Owner

关闭LaTeX渲染选项之后,可以正常渲染代码块吗?

@QAQQL
Copy link
Author

QAQQL commented Mar 29, 2023

图片
当我禁用掉科学公式后,一切都正常了
#488

@LuRenJiasWorld
Copy link
Owner

图片 当我禁用掉科学公式后,一切都正常了 #488

好的,可以尝试下这里的版本,手动安装下,看看能不能解决你的问题:#579 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants