基于electron的markdown编辑器,使用mavonEditor实现效果
# install dependencies
npm install
# serve with hot reload at localhost:9080
npm run dev
# build electron application for production
npm run build
# lint all JS/Vue component files in `src/`
npm run lint
- markdown编辑插件:https://github.com/hinesboy/mavonEditor
- markdown to pdf: https://github.com/houyujiang/markdown-pdf
- elementUi
- 获取当前输入框中的文本内容:
this.$refs.md.d_value
- 获取当前输入框中的html:
this.$refs.md.d_render(html格式)
-
标题周围应该空一行
-
标题末尾不带标点符号
-
代码块标记代码语言可以指定显示高亮
This project was generated with electron-vue@8fae476 using vue-cli. Documentation about the original structure can be found here.