0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Markdownで画像サイズを変更する方法

Last updated at Posted at 2023-05-29

概要

Markdownを使用して掲載した画像のサイズが適切ではない際に、特定のwidthを設定することで、サイズを変更するやり方を紹介致します。

やり方

Markdownで使用されるオリジナルのコードは以下の通りです。
![画像.jpg](***.jpg)

このコードを下記のように変更します。
<img src="***.jpg" width="300">

また、widthをパーセンテージで指定することも可能です。
<img src="***.jpg" width="50%">

実例

例えば、以下のようなファイルが存在するとします。
![test.jpg](画像のURL.jpg)

それを以下のように修正します。
<img src="画像のURL.jpg" width="50%">

直ぐに使用されたい方用

直ぐに使用されたい方は、以下をコピーしてご使用下さい。

<img src="" width="50%">

参考

Markdown記法で画像サイズを変更する方法(widthを指定する)

0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?