Skip to content

Instantly share code, notes, and snippets.

View knightli's full-sized avatar

knightli knightli

  • Alibaba.inc
  • HangZhou
View GitHub Profile
@knightli
knightli / Markdown2Evernote
Created December 8, 2013 16:15 — forked from fractaledmind/Markdown2Evernote
依赖: multimarkdown (http://fletcherpenney.net/multimarkdown/download/). 作用: 将剪切板内的markdown文本转换后, 给evernote内自动添加一篇指定title和tag的文章. 这个apple script特别适合和evernote2markdown配合使用.(https://gist.github.com/knightli/7859214)
# require: multimarkdown
# you can download from http://fletcherpenney.net/multimarkdown/download/
# install mac installer and mac support installer
# after you finish the second installer, you can find the following path:
property markdownloc : "/usr/local/bin/multimarkdown"
property tid : AppleScript's text item delimiters
set mdSource to the clipboard