📝A simple and elegant markdown editor, available for Linux, macOS and Windows.
Go to file
2017-11-14 17:39:51 +08:00
.electron-vue first commit 2017-11-13 00:05:57 +08:00
.github add selection.js which used for control cursor and selection 2017-11-14 17:39:51 +08:00
build/icons first commit 2017-11-13 00:05:57 +08:00
dist first commit 2017-11-13 00:05:57 +08:00
src add selection.js which used for control cursor and selection 2017-11-14 17:39:51 +08:00
static first commit 2017-11-13 00:05:57 +08:00
test first commit 2017-11-13 00:05:57 +08:00
.babelrc first commit 2017-11-13 00:05:57 +08:00
.eslintignore first commit 2017-11-13 00:05:57 +08:00
.eslintrc.js first commit 2017-11-13 00:05:57 +08:00
.gitignore first commit 2017-11-13 00:05:57 +08:00
.travis.yml first commit 2017-11-13 00:05:57 +08:00
appveyor.yml first commit 2017-11-13 00:05:57 +08:00
package-lock.json add some utils 2017-11-13 19:03:28 +08:00
package.json add selection.js which used for control cursor and selection 2017-11-14 17:39:51 +08:00
README.md add TODO List 2017-11-13 20:39:02 +08:00

aganippe

A high-efficiency and minimal markdown editor

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:9080
npm run dev

# build electron application for production
npm run build

# run unit & end-to-end tests
npm test


# lint all JS/Vue component files in `src/`
npm run lint


####TODO LIST

  • 段落和换行,两个或两个以上的空格再敲回车,或插入一个<br/>
  • 标题,支持 atx 形式的标题,在行首插入 1 到 6 个 #,会生成对应的 h1~6 h 标签。在敲回车后再转换成 HTML但是在编辑标题的时候显示会加粗。标题支持嵌套其他 markdown 样式。支持嵌套的样式包括加粗、斜体、行内代码、链接、图片。
  • 区块引用 Blockquotes每行前面都加上 > ,支持嵌套区块引用,支持嵌套其他 markdown 语法,比如标题、列表、代码区块。区块引用会生成 blockquote 标签。
  • 列表,有序列表和无需列表。无序列表使用 *、+、- 作为列表标记。有序列表使用数字加一个英文句点来标记。列表支持嵌套列表。列表支持嵌套区块引用,但仅限于行首,支持嵌套代码区块,但仅限于行首,支持其他 markdown 语法嵌套。
  • 代码区块,代码区块中的 markdown 语法不再被转换。
  • 分割线,你可以在一行中使用三个以上的 *、-、_ 来创建分割线。
  • 链接markdown 支持两种形式的链接,行内式、参考式。
  • 图片markdown 支持两种形式的图片,行内式、参考式。
  • Markdown 中使用*、_ 来表示强调,使用一个用 em 标签,使用两个用 strong 标签,如果*、_ 两边都(?)有空白的话,会被当做普通的符号。
  • 代码,如果标记一小段代码,可以用反引号标记:`。如果文字中已经有反引号,那么使用两个反引号。
  • 自动连接,使用<>包裹的链接会被转换为a 标签。
  • 反斜线 \ 可以对如下字符转义:
\   反斜线
`   反引号
*   星号
_   底线
{}  花括号
[]  方括号
()  括弧
#   井字号
+   加号
-   减号
.   英文句点
!   惊叹号
  • 表格支持。