hinesboy / mavonEditor

mavonEditor - A markdown editor based on Vue that supports a variety of personalized features
http://www.mavoneditor.com/
MIT License
6.45k stars 918 forks source link

目录能不能单独生成呢 #459

Open weizhanzhan opened 5 years ago

weizhanzhan commented 5 years ago

想实现一个想掘金那样,左侧文章,右侧目录,有什么方法吗

bihell commented 5 years ago

我也希望有这个功能,这样编辑文章会很方便

weizhanzhan commented 5 years ago

我也希望有这个功能,这样编辑文章会很方便

可以看看他的源码的getNavigation方法,可以得到节点然后自己渲染

u-sho commented 5 years ago

我也在寻找这个功能. 我会尝试. 谢谢

towelong commented 5 years ago

我也想要这个功能

weizhanzhan commented 5 years ago

https://github.com/weizhanzhan/wz-blog/blob/master/src/views/Blog/index.vue可以看看我这个例子

weizhanzhan commented 5 years ago

我也想要这个功能

可以看看我上面的地址

towelong commented 5 years ago

https://github.com/weizhanzhan/wz-blog/blob/master/src/views/Blog/index.vue可以看看我这个例子

你好 有线上Dom地址吗

weizhanzhan commented 5 years ago

https://github.com/weizhanzhan/wz-blog/blob/master/src/views/Blog/index.vue可以看看我这个例子

你好 有线上Dom地址吗

我这个还没部署到线上,你可以glone下来跑跑看,一直没处理了,是按掘金的目录来的

jie12366 commented 5 years ago

可以通过目录id来生成哦