chienote

command module
v0.0.0-...-9c012cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2016 License: MIT Imports: 10 Imported by: 0

README

chienote

An evernote-to-jekyll post synchronizer, heavily inspired by postach.io.

Installation

go get github.com/chiepomme/chienote

Usage

cd [your-jekyll-root]
chienote init
chienote sync
chienote convert
jekyll build

It is better to add _evernote.yml and _cache/ to your .gitignore.

Configuration

chienote init initializes your configuration file, whose name is _evernote.yml. You need some information listed below to initialize.

Formatting

In addition to evernote's text decorations, list, and todoes, you can use some markdowns.

Heading

# Heading1 -> <h1>Heading1</h1>
## Heading2 -> <h2>Heading1</h2>
### Heading3 -> <h3>Heading1</h3>
#### Heading4 -> <h4>Heading1</h4>
##### Heading5 -> <h5>Heading1</h5>

Code Fence

```go
var someVariable int
```

{% highlight go %}
    var someVariable int
{% endhighlight %}

Attachments

Attachments are just copied to resources directory under your jekyll root. In posts, resources are shown by html tags.

extension tag
*.jpg *.png *.gif <img>
*.mp3 <audio>
*.mp4 <video>
others <a>

Tagging

chienote has special tags. The other tags are used as post's tags in jekyll.

tag meaning
page rendered with page layout, and save under the jekyll root
published make the note public

Custom URL

Evernote's url attribute is used for the post filename. If nothing's set, the title is used.

Author

chiepomme
http://chiepom.me/
http://twitter.com/chiepomme

Documentation

Overview

Package initialize is an initialization tool for chienote. It creates required directories and helps your setting process.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL