Skip to content

Instantly share code, notes, and snippets.

@ksugawara61
Last active February 4, 2024 02:23
Show Gist options
  • Save ksugawara61/bcb112db6f1f34f64eb555569c251866 to your computer and use it in GitHub Desktop.
Save ksugawara61/bcb112db6f1f34f64eb555569c251866 to your computer and use it in GitHub Desktop.
メモ帳代わりにGistPadを使ってみる #tool

メモ帳代わりにGistPadを使ってみる

Github Repo

Setup

  1. https://marketplace.visualstudio.com/items?itemName=vsls-contrib.gistfs からGistPadをインストール
  2. Github にログイン

機能紹介

  • Gistをメモ帳代わりにVSCode上で閲覧・編集可能
  • 公開用のGistと非表示リスト用のGistをVSCode上で作成可能

Caution

非表示リスト(Secret Gist)はURLを知っていればアクセスできてしまうので、機密情報は記入しないようにする必要がある e.g.) https://gist.github.com/ksugawara61/acfbb616272a80215552ea87abed46f4

  • Gistでバージョン管理もできる
  • Github の Markdown 記法が使える
  • 右クリック > Paste Image でGistに画像のアップロードもできる(らしいがうまくいかなかった、、)
  • mermaidで絵も書ける
  • Gistのdescription末尾に #tool のようなタグをつけるとVSCode上でグループ化もできる

以下はテスト

console.log("hello");
$ echo "hello"
sequenceDiagram
    Alice->>Bob: Hello Bob, how are you?
    Bob-->>Alice: Not too bad, thanks!
    Alice->>John: Hi John, nice to meet you!
    John-->>Alice: Nice to meet you too!
    Alice->>Bob: Bob, meet John
    Bob->>John: Hi John!
    John-->>Bob: Hello Bob!

参考URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment