Skip to content

Instantly share code, notes, and snippets.

@taktamur
Last active August 29, 2015 14:02
Show Gist options
  • Save taktamur/7e410c0329f6d80b9f97 to your computer and use it in GitHub Desktop.
Save taktamur/7e410c0329f6d80b9f97 to your computer and use it in GitHub Desktop.
atom.ioでgist-itを試した。

日記 gist-itを試す。

https://atom.io/packages/gist-it

インストール

mba% apm install gist-it
Installing gist-it to /Users/tak/.atom/packages ✓
mba%

認証情報を設定

https://github.com/settings/tokens/new でトークンを作成。 それを ~/.atom/gist-it.token に保存。

コマンド

  • Gist Selection
    • 選択した部分だけgistに書き込む。ファイル名は元のファイルとなる。
  • Gist Current File
    • 今開いているファイルをまるっとgistに書き込む。ファイル名はそのまま。
  • Gist Open Buffer
    • 不明 新規で開いたファイルでこれをやるとエラーになる。

その他

  • Markdownとしてgistに登録させるには、一回ファイルを*.md"で保存する必要がある。
  • gist-itするときにタイトルっぽい入力が求められるけど、これなんなの?
    • これDescriptionだった。書いてあった。
  • ファイル名を日本語で書くと、そのままgistにupされる。
  • プレビューがリアルタイムで更新されるので、atom.ioのmarkdownは快適。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment