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.

【マークダウン】折りたたみの実装方法(detailsタグ)

Posted at

はじめに

プログラミング学習中の@kat_logと申します。

GitHubにてマークダウン形式で学習の記録をしているのですが、
マークダウン形式ファイルでの折りたたみ(トグル)の記述方法の共有です!

image.png

結論

detailsタグを使用すると可能です!

<details>
<summary>折りたたみタイトル</summary>
中身です。
中身です。  
中身です。  
</details>

行末に半角スペースを2つ入れると改行できます。

おわりに

お読みいただきありがとうございました。
どなたかの参考になれば嬉しいです。
↓に載せております参考ページがマークダウンについて分かりやすくて勉強になりました!
一緒に頑張っていきましょう〜😄

参考

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?