個人用ツール

「Sample」の版間の差分

提供: baserCMS公式ガイド

移動: 案内, 検索
 
(2人の利用者による、間の11版が非表示)
行1: 行1:
 
書き方のサンプルです。
 
書き方のサンプルです。
 +
 +
参照)
 +
http://www.mediawiki.org/wiki/Extension:MarkdownSyntax
 +
https://michelf.ca/projects/php-markdown/extra/
 +
  
 
##見出し2
 
##見出し2
 
###見出し3
 
###見出し3
 
####見出し4
 
####見出し4
 +
 +
## リンク
 +
[http://www.example.com リンクの名前]<br>
 +
テキストの中に[[内部リンク]]を入れます。[[テスト]]。<br>
 +
サンプルページへのリンクは[[Sample]]になります。
 +
 +
[リンクのテキスト](/Sample)
 +
 +
##テキスト
 +
テキストの中に*太字*が入ります。
 +
テキストの中に''斜め文字''が入ります。
  
 
## リスト
 
## リスト
行10: 行26:
 
- リスト
 
- リスト
 
- リスト
 
- リスト
 +
  - 子リスト
 +
  - 子リスト
 +
      - 孫リスト
 +
      - 孫リスト
 +
  - 子リスト
  
 
### 番号リスト
 
### 番号リスト
行31: 行52:
 
: 用語1に関する項目1
 
: 用語1に関する項目1
 
: 用語1に関する項目2
 
: 用語1に関する項目2
 +
: テキストが入ります。テキストが入ります。
 +
    改行はこうなります。
 +
    改行はこうなります。
 +
 +
    改行はこうなります。
 +
    改行はこうなります。
  
 
用語2
 
用語2
 
: 用語2の説明
 
: 用語2の説明
  
- リスト
+
    - リスト
- リスト
+
    - リスト
- リスト
+
    - リスト
  
 
用語3
 
用語3
行44: 行71:
 
     1.  first list item
 
     1.  first list item
 
     2.  second list item
 
     2.  second list item
 
 
Term 1
 
 
:  This is a definition with two paragraphs. Lorem ipsum
 
    dolor sit amet, consectetuer adipiscing elit. Aliquam
 
    hendrerit mi posuere lectus.
 
 
    Vestibulum enim wisi, viverra nec, fringilla in, laoreet
 
    vitae, risus.
 
 
:  Second definition for term 1, also wrapped in a paragraph
 
    because of the blank line preceding it.
 
 
Term 2
 
 
:  This definition has a code block, a blockquote and a list.
 
  
 
         code block.
 
         code block.
行69: 行79:
 
     1.  first list item
 
     1.  first list item
 
     2.  second list item
 
     2.  second list item
 
  
  
 
## テーブル
 
## テーブル
{|
+
| 列1 | 列2 | 列3 |
|-
+
|a||b
+
|-
+
|a||b
+
|
+
 
+
 
+
| Left align | Right align | Center align |
+
 
|:-----------|------------:|:------------:|
 
|:-----------|------------:|:------------:|
 
| This      |        This |    This    |
 
| This      |        This |    This    |
行89: 行90:
 
| left      |      right |    center    |
 
| left      |      right |    center    |
 
| aligned    |    aligned |  aligned    |
 
| aligned    |    aligned |  aligned    |
 +
 +
 +
## コードの書き方
 +
<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 ) ?>
 +
 +
 +
{{Post Type Tags}}
 +
{{Tag Footer}}

2016年3月30日 (水) 11:22時点における最新版

書き方のサンプルです。

参照) http://www.mediawiki.org/wiki/Extension:MarkdownSyntax https://michelf.ca/projects/php-markdown/extra/

見出し2

見出し3

見出し4

リンク

リンクの名前
テキストの中に内部リンクを入れます。テスト
サンプルページへのリンクはSampleになります。

リンクのテキスト

テキスト

テキストの中に太字が入ります。 テキストの中に斜め文字が入ります。

リスト

箇条リスト

  • リスト
  • リスト
  • リスト
    • 子リスト
    • 子リスト
      • 孫リスト
      • 孫リスト
    • 子リスト

番号リスト

  1. 番号リスト
  2. 番号リスト
  3. 番号リスト

定義リスト

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の説明

  1. first list item
  2. second list item code block.

block quote on two lines.

  1. first list item
  2. 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 ) ?>

テンプレート:Post Type Tags テンプレート:Tag Footer