Skip to content

Commit

Permalink
Merge pull request #129 from naoya/readme
Browse files Browse the repository at this point in the history
紙面リニューアルにより、WEB+DB PRESSでも本文中のコマンドブロックを使用する
  • Loading branch information
inao committed Apr 6, 2020
2 parents c37a29e + a024465 commit 468234e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ GitHub Flavored Markdown のFenced code blocks記法にも対応しています
alert(b); (注:こんな風にコメントがつけられます)
}

#### 本文中のコマンドブロック(WEB+DB PRESSは未使用)
#### 本文中のコマンドブロック

先頭行を`!!! cmd`とすると、コマンドラインっぽく黒地に白文字になります。

Expand All @@ -301,8 +301,6 @@ GitHub Flavored Markdown のFenced code blocks記法にも対応しています

コマンド行の行頭には、上記のようにプロンプト($など)を書いてください。

なお、この記法を使うのは一部の書籍のみです。WEB+DB PRESSなどでは未使用で、未使用の媒体では、コマンドの場合もインラインのコードブロックと同様の書き方をしてください。

#### 別ボックスのコードブロック(リスト)

別ボックスの「リスト」として掲載するコードには、先頭行に`●リスト1::キャプション`を書いてください。
Expand Down

0 comments on commit 468234e

Please sign in to comment.