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

leanote重度用户的关于markdown编辑器的建议 #718

Open
tomjamescn opened this Issue Jan 1, 2018 · 13 comments

Comments

Projects
None yet
4 participants
@tomjamescn

tomjamescn commented Jan 1, 2018

首先无限赞leanote的开发同学,赐予我们一个如此牛掰的evernote的开源替代品。
下面是一些建议:

1,非常喜欢思维导图功能,再也不用安装无穷多个软件了。但是,markdown中不能直接使用是个小小的遗憾。能不能直接在markdown中使用思维导图功能了?

2,有道云笔记中的markdown编辑器,参考了typora的很多产品思想,比如画时序图,流程图,甘特图等等,链接如下:http://support.typora.io/Draw-Diagrams-With-Markdown/
因为这些图的开源实现都是js的,所以,leanote是完全可以集成进来的。不知道leanote有没有计划集成这些开源组件?

@tomjamescn tomjamescn changed the title from 重度leanote用户的关于markdown编辑器的建议 to leanote重度用户的关于markdown编辑器的建议 Jan 1, 2018

@tomjamescn

This comment has been minimized.

Show comment
Hide comment
@tomjamescn

tomjamescn Jan 1, 2018

第二点中的时序图和流程图已经实现,甘特图还没有。再次证明leanote的强大啊

tomjamescn commented Jan 1, 2018

第二点中的时序图和流程图已经实现,甘特图还没有。再次证明leanote的强大啊

@tomjamescn

This comment has been minimized.

Show comment
Hide comment
@tomjamescn

tomjamescn Jan 1, 2018

有道云笔记的markdown编辑器,最新版本中对时序图,流程图和甘特图的支持使用的https://github.com/knsv/mermaid 这个项目一直在持续更新,而且目前的维护者是一位中国的大神。建议leanote集成这个库

tomjamescn commented Jan 1, 2018

有道云笔记的markdown编辑器,最新版本中对时序图,流程图和甘特图的支持使用的https://github.com/knsv/mermaid 这个项目一直在持续更新,而且目前的维护者是一位中国的大神。建议leanote集成这个库

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma Jan 14, 2018

持续关注 mermaid 集成!有空的话,我可以贡献一下自己的力量

jim3ma commented Jan 14, 2018

持续关注 mermaid 集成!有空的话,我可以贡献一下自己的力量

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma Jan 16, 2018

@tomjamescn 我提交了一个 commit,让 desktop app 支持 Chart.js 支持图表,jim3ma/leanote-desktop-app@e530bd1

jim3ma commented Jan 16, 2018

@tomjamescn 我提交了一个 commit,让 desktop app 支持 Chart.js 支持图表,jim3ma/leanote-desktop-app@e530bd1

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma commented Jan 20, 2018

屏幕快照 2018-01-20 下午3.27.58.png

@losymear

This comment has been minimized.

Show comment
Hide comment
@losymear

losymear May 14, 2018

@jim3ma chartjs代码改怎么写?
```chart \n //代码 \n```
这样吗

losymear commented May 14, 2018

@jim3ma chartjs代码改怎么写?
```chart \n //代码 \n```
这样吗

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma May 14, 2018

@losymear
```chart
{
type: 'bar',
data: {
labels: ["China", "India", "United States", "Indonesia", "Brazil", "Pakistan", "Nigeria", "Bangladesh", "Russia", "Japan"],
datasets: [{
label: 'Population',
data: [1379302771, 1281935911, 326625791, 260580739, 207353391, 204924861, 190632261, 157826578, 142257519, 126451398],
backgroundColor: [
'rgba(255, 99, 132, 0.6)',
'rgba(54, 162, 235, 0.6)',
'rgba(255, 206, 86, 0.6)',
'rgba(75, 192, 192, 0.6)',
'rgba(153, 102, 255, 0.6)',
'rgba(255, 159, 64, 0.6)',
'rgba(255, 99, 132, 0.6)',
'rgba(54, 162, 235, 0.6)',
'rgba(255, 206, 86, 0.6)',
'rgba(75, 192, 192, 0.6)',
'rgba(153, 102, 255, 0.6)'
]
}]
}
}
```

jim3ma commented May 14, 2018

@losymear
```chart
{
type: 'bar',
data: {
labels: ["China", "India", "United States", "Indonesia", "Brazil", "Pakistan", "Nigeria", "Bangladesh", "Russia", "Japan"],
datasets: [{
label: 'Population',
data: [1379302771, 1281935911, 326625791, 260580739, 207353391, 204924861, 190632261, 157826578, 142257519, 126451398],
backgroundColor: [
'rgba(255, 99, 132, 0.6)',
'rgba(54, 162, 235, 0.6)',
'rgba(255, 206, 86, 0.6)',
'rgba(75, 192, 192, 0.6)',
'rgba(153, 102, 255, 0.6)',
'rgba(255, 159, 64, 0.6)',
'rgba(255, 99, 132, 0.6)',
'rgba(54, 162, 235, 0.6)',
'rgba(255, 206, 86, 0.6)',
'rgba(75, 192, 192, 0.6)',
'rgba(153, 102, 255, 0.6)'
]
}]
}
}
```

@tomjamescn

This comment has been minimized.

Show comment
Hide comment
@tomjamescn

tomjamescn May 23, 2018

@jim3ma 不知道web版能方便集成吗?我是用的是web版leanote

tomjamescn commented May 23, 2018

@jim3ma 不知道web版能方便集成吗?我是用的是web版leanote

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma May 23, 2018

@tomjamescn 可以的,将我的修改移植到 https://github.com/leanote/leanote/blob/master/public/md/main-v2.js,重新生成 main-v2.min.js,再准备好 chart.js 就可以了,
另外还需要修改 md2html.js

jim3ma commented May 23, 2018

@tomjamescn 可以的,将我的修改移植到 https://github.com/leanote/leanote/blob/master/public/md/main-v2.js,重新生成 main-v2.min.js,再准备好 chart.js 就可以了,
另外还需要修改 md2html.js

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma commented May 23, 2018

2018-05-23 4 00 29

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma May 23, 2018

@tomjamescn mermaid 的集成已经完成了,回头我来提 PR

jim3ma commented May 23, 2018

@tomjamescn mermaid 的集成已经完成了,回头我来提 PR

@jim3ma

This comment has been minimized.

Show comment
Hide comment
@jim3ma

jim3ma May 24, 2018

@tomjamescn #775 已经完成了一部分了,还新增 emoji、mermaid 支持哈

jim3ma commented May 24, 2018

@tomjamescn #775 已经完成了一部分了,还新增 emoji、mermaid 支持哈

@xingyuezhiji

This comment has been minimized.

Show comment
Hide comment
@xingyuezhiji

xingyuezhiji Oct 17, 2018

@tomjamescn #775 已经完成了一部分了,还新增 emoji、mermaid 支持哈

二进制自建服务器版怎么修改呀

xingyuezhiji commented Oct 17, 2018

@tomjamescn #775 已经完成了一部分了,还新增 emoji、mermaid 支持哈

二进制自建服务器版怎么修改呀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment