You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy res-min/main-v2.min.js to leanote's path /public/dist/.
Update node-dev.html with:
<script>initPage();window.require={baseUrl: '/public',};</script><!-- pro_markdown_js --><!-- dev --><scriptsrc="/js/require.js"></script><scriptsrc="/public/dist/main-v2.min.js"></script><!-- /dev --><scriptsrc="/public/js/plugins/main.js"></script></body>
Source Debug With Leanote
Replace node-dev.html with:
<script>initPage();window.require={baseUrl: '/public/res',// link to res};</script><!-- pro_markdown_js --><!-- dev --><scriptsrc="/js/require.js"></script><scriptsrc="/public/res/main.js"></script><!-- /dev --><!--<script src="/public/js/plugins/main.js"></script>--></body>
Markdown Editor For Leanote Web & Desktop App
Leanote's Markdown Editor originally forked from Stackedit-v3.1.14. The Stackedit source is under Apache License (http://www.apache.org/licenses/LICENSE-2.0) and the code updated by Leanote is under GPL v2.
Difference with Leanote-Markdown-Editor
Branches
Build
Please install
node
andgulp
firstly.Local Debug
See: http://localhost:3001/editor.html
Integrated With Leanote
Copy
res-min/main-v2.min.js
to leanote's path/public/dist/
.Update node-dev.html with:
Source Debug With Leanote
Replace node-dev.html with:
与 Leanote-Markdown-Editor 的不同
构建
确保在此之前安装了node, gulp
本地调试
访问: http://localhost:3001/editor.html
Leanote 使用本 Markdown v2 编辑器
将
res-min/main-v2.min.js
复制到leanote的/public/dist/
下node-dev.html:
Leanote 调试 Markdown 编辑器的源码
替换node-dev.html
The text was updated successfully, but these errors were encountered: