开源软件名称(OpenSource Name):leanote/markdown-editor-v2开源软件地址(OpenSource Url):https://github.com/leanote/markdown-editor-v2开源编程语言(OpenSource Language):JavaScript 94.5%开源软件介绍(OpenSource Introduction):Markdown Editor For Leanote Web & Desktop AppLeanote'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. Leanote-Markdown-EditorDifference with
Branches
BuildPlease install
Local Debug
See: http://localhost:3001/editor.html Integrated With LeanoteCopy Update node-dev.html with: <script>
initPage();
window.require = {
baseUrl: '/public',
};
</script>
<!-- pro_markdown_js -->
<!-- dev -->
<script src="/js/require.js"></script>
<script src="/public/dist/main-v2.min.js"></script>
<!-- /dev -->
<script src="/public/js/plugins/main.js"></script>
</body> Source Debug With LeanoteReplace node-dev.html with: <script>
initPage();
window.require = {
baseUrl: '/public/res', // link to res
};
</script>
<!-- pro_markdown_js -->
<!-- dev -->
<script src="/js/require.js"></script>
<script src="/public/res/main.js"></script>
<!-- /dev -->
<!--
<script src="/public/js/plugins/main.js"></script>
-->
</body> Leanote-Markdown-Editor 的不同与
构建确保在此之前安装了node, gulp
本地调试
访问: http://localhost:3001/editor.html Leanote 使用本 Markdown v2 编辑器将 node-dev.html: <script>
initPage();
// 当tinymce.dev.js时, 请注释require
window.require = {
baseUrl: '/public',
};
</script>
<!-- pro_markdown_js -->
<!-- dev -->
<script src="/js/require.js"></script>
<script src="/public/dist/main-v2.min.js"></script>
<!-- /dev -->
<script src="/public/js/plugins/main.js"></script>
</body> Leanote 调试 Markdown 编辑器的源码替换node-dev.html <script>
initPage();
window.require = {
baseUrl: '/public/res', // res指向源码
};
</script>
<!-- pro_markdown_js -->
<!-- dev -->
<script src="/js/require.js"></script>
<script src="/public/res/main.js"></script>
<!-- /dev -->
<!--
不要
<script src="/public/js/plugins/main.js"></script>
-->
</body> |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论