0.7.1 • Published 3 years ago

hatenablogger v0.7.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

npm.io npm.io All Contributors <uraway>

hatenablogger

This VSCode extension helps you to manage entries on HatenaBlog and images on HatenaFotolife.

はてなブログエントリーを VSCode から投稿・更新するための VSCode 拡張です。はてなフォトライフへ画像をアップロードすることもできます。

オプション設定

プロパティ必須説明
hatenaId文字列Hatena ID
blogId文字列Blog ID (デフォルトはブログドメイン)
apiKey文字列API キー
askCategory真偽値エントリの投稿・更新時にカテゴリを API から取得して選択可能にします
openAfterPostOrUpdate真偽値エントリの投稿・更新後に URL を開きます

npm.io

プロパティ必須説明
allowedImageExtensions配列アップロード可能なファイルの拡張子を指定します。デフォルト: ["png","jpg","jpeg","gif","bmp"]
fotolifeFolder文字列画像をアップロードするフォルダを指定します
askCaption真偽値画像をアップロードする際に、キャプションを追加するか尋ねます

機能

エントリのダンプ: Hatenablogger: Dump All Entries

エントリをすべて取得し、指定したフォルダにダンプします

エントリの投稿: Hatenablogger: Post or Update

マークダウンファイル内にコンテキストコメントがない場合は、エントリを投稿し、コンテキストコメントを挿入します

post-entry

エントリの更新: Hatenablogger: Post or Update

マークダウンファイル内にコンテキストコメントが存在する場合は、エントリとコンテキストコメントを更新します

update-entry

エントリの取得: Hatenablogger: Retrieve Entry

マークダウンファイル内にコンテキストコメントが存在する場合は、エントリを取得し、マークダウンファイルとコンテキストコメントを同期します

retrieve-entry

エントリの置換: Hatenablogger: Replace Content In All Entries

正規表現でエントリを検索し、そのワードを置換して更新します

イメージのアップロード: Hatenablogger: Upload Image

はてなフォトライフへ画像をアップロードし、マークダウン形式で画像 URL を挿入します

upload-image

Contributing

  1. Fork this repo and Clone it!
  2. Commit and Push your changes.
  3. If you contributed something new, run yarn contrib:add
  4. Finally submit a pull request :D

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

0.7.1

3 years ago

0.4.9

3 years ago

0.4.8

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.5.0

3 years ago

0.7.0

3 years ago

0.4.3

3 years ago

0.6.0

3 years ago

0.3.1

4 years ago