本文介绍了如何让WMD-Editor将Markdown发布到服务器而不是HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎WMD-Editor正在将HTML发布到服务器而不是降价。如何让它发送Markdown?
It seems that WMD-Editor is posting HTML to the server instead of the markdown. How can i get it to send the Markdown?
推荐答案
在SO版本的主分支中,有趣的一行是第2341行:
In the master branch of the SO version, the interesting line is line 2341:
Attacklab.wmd_defaults = {version:1,output:HTML,lineLength:40,delayLoad:false};
将此更改为要求降价:
Attacklab.wmd_defaults = {version:1,输出:markdown,lineLength:40,delayLoad:false};
..而你将获得Markdown。
.. and you'll get the Markdown instead.
这篇关于如何让WMD-Editor将Markdown发布到服务器而不是HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!