使用 dtk 开发的 markdown 编辑器
In debian, use below command to install compile dependencies:
sudo apt install qt5-default libdtkwidget-dev libdtkgui-dev libdtkcore-dev qtwebengine5-dev
- git clone git@github.com:DMarked/DMarked.git
- cd DMarked
- git submodule init
- git submodule update
- mkdir build
- cd build
- qmake ..
- sudo make install
In Project Dir:
- nix develop
get develop shell
- nix build ".?submodules=1"
build package
- nix run ".?submodules=1"
just run dmarked
- 新建,打开,另存为 Markdown 文件
- 一边编辑,另一边预览
- 编辑框文字更新后,预览界面自动更新
- 可以切换编辑模式(只有编辑框),阅读模式(只有预览框),预览模式(都有)
- 统计字符数,显示光标行列
- 初步支持中英文
- 导出成 pdf 文件
- 导出成 html 文件
- 可以切换 css 主题,分浅色,深色两类
- 完善对命令行支持,可以在命令行中打开文件,批量转换HTML,PDF
- 图床工具 --picgo
- 增加 markdown-it 引擎
- 代码高亮 highlight.js
- 画图 Mermaid.js
- 数学公式 katex
- 可保存配置
- 增加设置面板(字体,快捷键,自动保存等)/ 完善快捷键
- 进行打包工作
(Need Help)
- 更好的编辑页面,预览页面的同步算法
- 更好的 logo
DMarked is licensed under GPLv3.
- qmarkdowntextedit MIT
- markdown-it MIT
- And More
主题使用了:
- wecatch/markdown-css MIT
- yrgoldteeth/darkdowncss
- kevinburke/markdown-css Apache V2.0
- CuteMarkEd-NG's Theme LICENSE
代码参考了:
- deepin-editor GPL-3.0
- WebEngine Markdown Editor Example BSD
Organization's profile picture @RigoLigo