Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚在 ASP.NET 应用程序中为我的编辑器实现了 WMD。问题是预览不显示格式化的 HTML,而是显示降价。因此,如果我使用(被双星标记语法包围),我会在预览中得到准确的结果,当时我期望获得它的 html 版本。
如果我在 textarea 中明确输入 html 标签,预览就可以了。
我究竟做错了什么?
在配置部分(位置取决于您使用的 WMD 版本)有一个 输出属性,可能设置为markdown或类似的东西。 将其更改为
output:"HTML"