LoginSignup
0
0

md形式画像リンクを一括取得(pwshの場合)

Posted at

フォルダー内にあるファイル一覧を取得する

次のコードの前半部分がそれを担当してます. -Name <- important!

後半で一覧を生成してます

Bing・・とかに教えてもらおうとすると、Markdownシンタックスで表現しているためか、こういうのは苦手みたいです。備忘録としてここに書かせてください。

Get-ChildItem *.jpg -Name | foreach-object {"![](./img/"+$_+")"}
0
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
0
0