NerdDiffer / evermark

:elephant: A command line tool for syncing markdown files to Evernote

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evermark

NPM version Build Status Windows Build Status Coverage Status Dependency Status Dependency Status

A command line tool for syncing markdown files to Evernote 🐘

Evermark 是一款基于 Evernote 的 Markdown 笔记命令行工具,简单实用。

  • 支持基于命令行添加、发布 Markdown 格式的笔记
  • 支持自动添加在笔记内容中指定的笔记本和标签
  • 支持发布或撤销某个目录下的所有 Markdown 笔记
  • 支持高亮代码块、图片引用、表格等
  • 支持任务列表
  • 支持流程图、序列图、甘特图
  • 支持数学公式
  • 支持发布多个 Markdown 笔记

安装方法

npm install -g evermark

命令说明

初始化 Evermark 文件夹

执行完后需要修改该目录下的 evermark.json,填写你的 developerToken

evermark init <destination>

developerToken 的生成链接:

查看或修改配置

evermark config [name] [value]

添加笔记文件

创建一个 markdown 文件,存放在 Evermark 文件夹的 notes 目录下。

evermark new <title>

发布笔记

将 markdown 文件发布到 Evernote,对于已发布过的文件会采取更新操作。

evermark publish <file_or_directory>

撤销笔记

在 Evernote 中删除 markdown 文件对应的笔记,markdown 文件不会删除。

evermark unpublish <file_or_directory>

查看帮助

evermark help [command]

Evermark 支持的 Markdown 语法

Headers

# H1
## H2
### H3
#### H4
##### H5
###### H6

Emphasis

*This text will be italic*
_This will also be italic_

**This text will be bold**
__This will also be bold__

~~This text will be crossed~~

_You **can** combine ~~them~~_

Sups & Subs

19^th^
H~2~O

Emoji

:smile: :heart: :sunny: :watermelon: :cn:

Links

http://github.com - automatic!
[GitHub](http://github.com)

Blockquotes

As Kanye West said:

> We're living the future so
> the present is our past.

Lists

Unordered

- Item 1
- Item 2
  - Item 2a
  - Item 2b

Ordered

1. Item 1
1. Item 2
1. Item 3
   - Item 3a
   - Item 3b

Task Lists

- [x] Write blog post with :heart:
- [x] Create sample **gist**
- [ ] Take screenshots for blog post

Tables

First Header | Second Header
------------ | -------------
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column

Images

![Image of Test](img/test.png "Image of Test")
![GitHub Logo](https://assets-cdn.github.com/images/modules/logos_page/Octocat.png "GitHub Logo")

Inline Code

This is an inline code: `var example = true`

Block Code

```js
console.log('Hello world!')
```

Raw HTML

<div style="color: red;">This is a <strong>html</strong> code.</div>

Notebooks & Tags

  • Evermark 自动使用文档内出现的第一个标题作为笔记标题。
  • Evermark 支持 @(笔记本)[标签 A|标签 B] 语法, 以选择笔记本和添加标签。

License

MIT

About

:elephant: A command line tool for syncing markdown files to Evernote

License:MIT License


Languages

Language:JavaScript 78.8%Language:CSS 21.2%