「Sample」の版間の差分
提供: baserCMS公式ガイド
行72: | 行72: | ||
## コードの書き方 | ## コードの書き方 | ||
− | + | <pre> | |
+ | preタグで囲めば確実に表示されます。 | ||
+ | <?php remove_post_type_support( $post_type, $supports ) ?> | ||
+ | </pre> | ||
− | + | 半角スペース4個でも<pre></pre>で囲まれます。 | |
− | + | 半角スペース4個でも<pre></pre>で囲まれます。 | |
+ | <?php remove_post_type_support( $post_type, $supports ) ?> |
2014年11月1日 (土) 18:04時点における版
書き方のサンプルです。
見出し2
見出し3
見出し4
リスト
箇条リスト
- リスト
- リスト
- リスト
番号リスト
- 番号リスト
- 番号リスト
- 番号リスト
定義リスト
- Apple
- Pomaceous fruit of plants of the genus Malus in the family Rosaceae.
- An American computer company.
- Orange
- The fruit of an evergreen tree of the genus Citrus.
- 用語1
- 用語1の説明
- 用語1に関する項目1
- 用語1に関する項目2
- テキストが入ります。テキストが入ります。 改行はこうなります。 改行はこうなります。 改行はこうなります。 改行はこうなります。
- 用語2
-
用語2の説明
- リスト
- リスト
- リスト
- 用語3
-
用語3の説明
- first list item
- second list item code block.
block quote on two lines.
- first list item
- second list item
テーブル
列1 | 列2 | 列3 |
---|---|---|
This | This | This |
column | column | column |
will | will | will |
be | be | be |
left | right | center |
aligned | aligned | aligned |
コードの書き方
preタグで囲めば確実に表示されます。 <?php remove_post_type_support( $post_type, $supports ) ?>
半角スペース4個でも<pre></pre>で囲まれます。
半角スペース4個でも<pre></pre>で囲まれます。
<?php remove_post_type_support( $post_type, $supports ) ?>