1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Markdownのコードを全てVSCodeなどのエディタに貼っつけて、以下の文字列で正規表現で検索して変換する。

検索文字列
(?:<img[^>]*src="(http[^"]*)")|(?:!\[[^\]]*\]\((http[^)]+)\))
変換内容
<img src="$1$2" width="50%" />

補足

Find & Replace for Text Editing など、テキストエリアを検索してその中を直接編集する拡張機能は存在するが、2024年6月12日現在、どの拡張機能もハイライトや変換がうまく行っていないようなので、こちらの方法が確実。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?