1
1

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.

vscodeでのMarkdown書き方

Last updated at Posted at 2022-12-01

マークダウンの記述方法

マークダウンのプレビュー

  • ctrl shift p → Markdownを選択
  • プレビューエラーになる場合はターミナルを開いて rm -rf ~/.config/Code/Cache
    (キャッシュを削除する。どこのディレクトリからでも実行可能。)

見出しの作り方

  • Markdown All in Oneをインストールしていること
  • ctrl + shift + pでコントロールパネルを開く
  • Markdown All in One: Create Table of Contentsと入力し実行
  • 見出しに入れたくない項目は<!-- omit in toc -->で除外する

コマンド

効果 コマンド 備考
セクション #
太文字 ctrl + b
イタリック ctrl + i
リンク ctrl + v 先にURLをコピーしてから張り付ける
数式の挿入$f(x)=sin+cos+tan$ ctrl + m
チェックを入れる・外す Alt + c 元々チェックボックスは作成していること

マークダウン

リスト

  • list1
  • list2
    方法 :* list1



リスト(ナンバリング)

  1. list1
  2. list2
    方法 : 1. list1



チェックボックス

  • チェックボックス
    方法 :- [ ] チェックボックス



テーブル

列1 列2
内容1 内容2

方法
|列1|列2|
|:----:|:------:|
|内容1|内容2|`




引用

引用

さらに引用

方法 :> 引用
方法 :>> さらに引用




ソースコード

$hoge = "hogehoge";

方法 :```c $hoge = "hogehoge"; ```




ソースコード(インライン)

文章の中に$hoge = "hogehoge";入れちゃう
方法 :文章の中に`$hoge = "hogehoge";`入れちゃう




改行

文章の終わりにスペース2つ、
もしくは2行以上の改行




段落

段落は

<br>タグで行う
方法 :<br>




水平線

水平線


方法 : _または*を3つ続ける




画像の挿入

ダミー画像
方法 :![ダミー画像](https://via.placeholder.com/150)




1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?