マークダウン構文
率直にいって、 web コンテンツを書くのは面倒です。
WYSIWYG エディタは助けになりますが、それらはたびたび、ひどいコードとなり、ひどいだけでなく、見にくい web ページになってしまいます。
マークダウン は、 HTML を書くための良い方法です。
複雑さや見にくさを避けながら書けます。
重要なメリットは、以下のとおりです:
- マークダウンは、最小限の文字が追加されるだけで、簡単に学べるため、コンテンツ制作も早くできるようになります。
- マークダウンを書くとき、エラーになる危険性は減らせます。
- 妥当な XHTML 出力が作成されます。
- コンテンツとヴィジュアル表示を分けたままにできます。サイトの見た目を乱しようがありません。
- いかなるテキストエディタでも、マークダウンアプリケーションでも、好きなもので書けます。
- マークダウンは、使っていて楽しい!
マークダウンを生み出したJohn Gruber は、次のように言います:
The overriding design goal for Markdown’s formatting syntax is to make it as readable as possible. The idea is that a Markdown-formatted document should be publishable as-is, as plain text, without looking like it’s been marked up with tags or formatting instructions. While Markdown’s syntax has been influenced by several existing text-to-HTML filters, the single biggest source of inspiration for Markdown’s syntax is the format of plain text email.
– John Gruber
Grav は、最初から Markdown と Markdown Extra をサポートしています。Markdown Extra を使用したい場合は、system.yaml ファイルで設定を有効化してください。
Note
Grav 2.0 の新機能 — Markdown のレンダリングに完全な GitHub Flavored Markdown 機能が追加され、 デフォルトで有効化 されています: task lists, highlight/subscript/superscript マーク, 自動の 素の www. やメールアドレスへのリンク, そして許可されない生の HTML タグのエスケープ。 オプトインの 便利な表の拡張機能 — colspan, header-less, captions, attributes, そして multi-line cells — も利用できます。 これらは全て設定可能です; Configuration をご覧ください。
さっそく、マークダウンの主要な要素と、それが HTML でどう見えるかを見ていきましょう:
Info
これからいつでも参照できるように、このページをブックマークしてください!
見出し
h1 から h6 までの見出しは、それぞれのレベルの # により作れます:
# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
以下のようにレンダリングされます:
h1 Heading
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
HTML:
<h1>h1 Heading</h1>
<h2>h2 Heading</h2>
<h3>h3 Heading</h3>
<h4>h4 Heading</h4>
<h5>h5 Heading</h5>
<h6>h6 Heading</h6>
コメント
コメントは、 HTML と同じように書いてください
<!--
This is a comment
-->
次のコメントは、 見えない はずです:
水平区切り
HTMLの <hr> 要素は、段落レベルの要素間で、「内容の区切り」を作ります。
マークダウンでは、次のように書きます:
___: 3つ連続のアンダースコア---: 3つ連続のダッシュ***: 3つ連続のアスタリスク
次のようにレンダリングされます:
本文
通常のプレーンなテキストで書かれた本文は、 <p></p> タグで包まれて、 HTML にレンダリングされます。
よって、この本文は:
Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.
次のようにレンダリングされます:
<p>Lorem ipsum dolor sit amet, graecis denique ei vel, at duo primis mandamus. Et legere ocurreret pri, animal tacimates complectitur ad cum. Cu eum inermis inimicus efficiendi. Labore officiis his ex, soluta officiis concludaturque ei qui, vide sensibus vim ad.</p>
改行 は、2つのスペースの後にリターンキーをすることによってできます。
インラインの HTML
特定の HTML タグが作りたい場合(class を付けるようなとき)は、単に HTML を使ってください:
Paragraph in Markdown.
<div class="class">
This is <b>HTML</b>
</div>
Paragraph in Markdown.
Note
Grav 2.0 では、コンテンツ内の「生の HTML を許可しない」タグの小さな拒否リストをエスケープします — title, textarea, style, xmp, iframe, noembed, noframes, script, そして plaintext です — そのため、これらは表示テキストとしてレンダリングされ、有効なマークアップンとしてはレンダリングされません。 GitHub フレーバーのマークダウンのタグフィルタに準拠します。 これは、意図せず発生する不具合を防ぐのに便利ですが、セキュリティの境界ではありません; 幅広い HTML サニタイズは、サイトのセキュリティレイヤーの仕事のままです。 Configuration で無効化できます。
iframe と 生の HTML の許可
Grav 1.x 系で機能した embed 機能(YouTbe <iframe> や、 埋め込み地図、 <script> ウィジェットなど)が、現在は、ページ内でただのテキストとして表示されている場合、原因は GFM の tagfilter にあります:このフィルタが、タグ開始の < を エスケープしたので、ブラウザはタグを実行するのではなく、表示してしまうのです。
混同されやすいので、以下の2つを区別しておく必要があります:
- 設定>セキュリティ にある “Dangerous HTML Tags” リスト は、この機能とは異なります。これは、危険なマークアップをコンテンツ内に保存したときに、あなたに警告を伝えるセキュリティ スキャナー 機能です。この機能は、タグがレンダリングされるかどうかをコントロールするものではないので、これを変更しても、 iframe が消える問題への影響はありません。
- tagfilter 拒否リストが固定 (
title,textarea,style,xmp,iframe,noembed,noframes,script,plaintext) され、そのリストが編集不可。これは、 GitHub フレーバーマークダウンの仕様に準拠します。
embed に戻すのに、良い方法が2つあります:
- 推奨: ショートコードやページテンプレートを介して追加し マークダウンに生の HTML を渡さない。この方法により、他のすべての tagfilter はそのままにして、意図通り embed を置くことができます。 ショートコードの作成 と ページテンプレートアプローチ をご覧ください。
- tagfilter をオフにする もしサイト全体で生の HTML を許して良い場合。設定は、 設定>システム>マークダウン もしくは、
user/config/system.yamlです:
pages:
markdown:
gfm:
tagfilter: false
Note
tagfilter をオフにすることと、サニタイズを無効にすることは、同じでは ありません。 これは、 Grav がマークダウン出力で、その短い拒否リストのエスケープを行わないというだけです。サイトの本当の XSS 対策(危険なプロトコル、イベントハンドラ属性、インラインのスタイル、その他の security.xss_* レイヤー)は、完全に別の方法で有効です。オフにしたままにすることは、あなた自身や信頼できる著者がコンテンツを書くようなサイトの場合、合理的です;信頼できない著者や、外部ユーザーがマークダウンを投稿する場合は、オプション1を使ってください。
強調
太字
太字で強調したいとき、次の文章の部分は、 太字のテキストでレンダリングされます 。
**rendered as bold text**
次のようにレンダリングされます:
rendered as bold text
HTML は、このようになります:
<strong>rendered as bold text</strong>
斜体
斜体で強調したいとき、次の文章の部分は、 斜体のテキストでレンダリングされます 。
_rendered as italicized text_
次のようにレンダリングされます:
rendered as italicized text
HTML は、このようになります:
<em>rendered as italicized text</em>
見え消し
GFM(GitHubフレーバーのマークダウン)では、見え消しができます。
~~Strike through this text.~~
次のようにレンダリングされます:
Strike through this text.
HTMLです:
<del>Strike through this text.</del>
Highlight
Note
Highlight, subscript, そして superscript マークは、 Grav 2.0 での新機能 であり、デフォルトで有効化されています。
2つのイコール記号でテキストを包むと、ハイライトされ、 HTML の <mark> 要素としてレンダリングされます。
Markdown makes ==certain words stand out==.
レンダリング:
Markdown makes ==certain words stand out==.
HTML:
<p>Markdown makes <mark>certain words stand out</mark>.</p>
Subscript
1つのチルダ記号でテキストを包むと subscript として、 <sub> 要素でレンダリングされます。 1つの ~text~ は subscript であり、2つの ~~text~~ は 取り消し線 なので、2つは衝突しません。
The chemical formula for water is H~2~O.
レンダリング:
The chemical formula for water is H2O.
HTML:
<p>The chemical formula for water is H<sub>2</sub>O.</p>
Superscript
superscript として 1つのカレットでテキストを包むと、 <sup> 要素でレンダリングされます。
Einstein's famous equation is E = mc^2^.
レンダリング:
Einstein’s famous equation is E = mc^2^.
HTML:
<p>Einstein's famous equation is E = mc<sup>2</sup>.</p>
引用ブロック
他の文章のコンテンツを、自分の文章中に引用するためのものです。
すべての引用文の頭に、> を付け加えてください。
> **Fusion Drive** combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.
次のようにレンダリングされます:
Fusion Drive combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.
HTML です:
<blockquote>
<p><strong>Fusion Drive</strong> combines a hard drive with a flash storage (solid-state drive) and presents it as a single logical volume with the space of both drives combined.</p>
</blockquote>
引用ブロックは、入れ子にできます:
> Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue.
Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
>> Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor
odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
次のようにレンダリングされます:
Donec massa lacus, ultricies a ullamcorper in, fermentum sed augue. Nunc augue augue, aliquam non hendrerit ac, commodo vel nisi.
Sed adipiscing elit vitae augue consectetur a gravida nunc vehicula. Donec auctor odio non est accumsan facilisis. Aliquam id turpis in dolor tincidunt mollis ac eu diam.
注意書き
Note
引用ブロックを上書きした注意書き(>>>)はもう古く、非推奨です。Markdown Notices という専用のプラグインを使ってください。
訳注
[!訳注] Grav 2.0 のベータ版では、プリインストールのプラグインとして Markdown Notices から、Github Markdown Alerts に変わっているようです。 いずれにせよ、注意の書き方は、それぞれのプラグインに合わせる必要があります。
リスト
順番無しリスト
アイテムのリストで、順番が大事でないときに使います。
箇条書きを示すために、次のような記号が使えます:
* 適切な記号
- 適切な記号
+ 適切な記号
たとえば
+ Lorem ipsum dolor sit amet
+ Consectetur adipiscing elit
+ Integer molestie lorem at massa
+ Facilisis in pretium nisl aliquet
+ Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
+ Faucibus porta lacus fringilla vel
+ Aenean sit amet erat nunc
+ Eget porttitor lorem
次のようにレンダリングされます:
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Phasellus iaculis neque
- Purus sodales ultricies
- Vestibulum laoreet porttitor sem
- Ac tristique libero volutpat at
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
そしてHTMLはこうなります
<ul>
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
<li>Facilisis in pretium nisl aliquet</li>
<li>Nulla volutpat aliquam velit
<ul>
<li>Phasellus iaculis neque</li>
<li>Purus sodales ultricies</li>
<li>Vestibulum laoreet porttitor sem</li>
<li>Ac tristique libero volutpat at</li>
</ul>
</li>
<li>Faucibus porta lacus fringilla vel</li>
<li>Aenean sit amet erat nunc</li>
<li>Eget porttitor lorem</li>
</ul>
順番ありリスト
アイテムのリストで、順番が大事であるときに使います。
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa
4. Facilisis in pretium nisl aliquet
5. Nulla volutpat aliquam velit
6. Faucibus porta lacus fringilla vel
7. Aenean sit amet erat nunc
8. Eget porttitor lorem
次のようにレンダリングされます:
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
そしてHTMLはこうなります
<ol>
<li>Lorem ipsum dolor sit amet</li>
<li>Consectetur adipiscing elit</li>
<li>Integer molestie lorem at massa</li>
<li>Facilisis in pretium nisl aliquet</li>
<li>Nulla volutpat aliquam velit</li>
<li>Faucibus porta lacus fringilla vel</li>
<li>Aenean sit amet erat nunc</li>
<li>Eget porttitor lorem</li>
</ol>
TIP: それぞれの番号を 1. とした場合、マークダウンは自動的に番号を振ってくれます。たとえば:
1. Lorem ipsum dolor sit amet
1. Consectetur adipiscing elit
1. Integer molestie lorem at massa
1. Facilisis in pretium nisl aliquet
1. Nulla volutpat aliquam velit
1. Faucibus porta lacus fringilla vel
1. Aenean sit amet erat nunc
1. Eget porttitor lorem
次のようにレンダリングされます:
- Lorem ipsum dolor sit amet
- Consectetur adipiscing elit
- Integer molestie lorem at massa
- Facilisis in pretium nisl aliquet
- Nulla volutpat aliquam velit
- Faucibus porta lacus fringilla vel
- Aenean sit amet erat nunc
- Eget porttitor lorem
Task Lists
Note
タスクリストは、 Grav 2.0 の新機能 であり、デフォルトで有効化されています。
リストマーカーの直後に [ ] (未完了)や [x] 完了済みを付けると、GitHub フレーバーマークダウンに従い、チェックボックスのアイテムがレンダリングされます。
- [x] Write the documentation
- [x] Review the examples
- [ ] Ship it
レンダリング:
- Write the documentation
- Review the examples
- Ship it
HTML:
<ul>
<li class="task-list-item"><input type="checkbox" disabled="" checked="" /> Write the documentation</li>
<li class="task-list-item"><input type="checkbox" disabled="" checked="" /> Review the examples</li>
<li class="task-list-item"><input type="checkbox" disabled="" /> Ship it</li>
</ul>
このチェックボックスは、読み取り専用(disabled)としてレンダリングされ、各 <li> は task-list-item クラスを持ちます。よって、テーマでタスクリストの style が書けます。
コード
1行コード
` (バッククオート)でコード部分を囲んでください。
In this example, `<section></section>` should be wrapped as **code**.
次のようにレンダリングされます:
In this example, <section></section> should be wrapped with code.
HTML です:
<p>In this example, <code><section></section></code> should be wrapped with <strong>code</strong>.</p>
インデント・コード
4文字以上のスペースで複数行のコードををインデントしてください。次のように:
// Some comments line 1 of code line 2 of code line 3 of code
次のようにレンダリングされます:
// Some comments
line 1 of code
line 2 of code
line 3 of code
HTML です:
<pre>
<code>
// Some comments
line 1 of code
line 2 of code
line 3 of code
</code>
</pre>
ブロック・コード
言語属性付きの複数行のコードブロックを作るには、“fences” 3つの` を使ってください。
``` Sample text here... ```
HTML です:
<pre language-html>
<code>Sample text here...</code>
</pre>
構文のハイライト
GFM(GitHubフレーバーのマークダウン)は、構文のハイライトに対応しています。
有効化すると、最初の “fence” に、言語の拡張子をつけるだけで、自動的に構文のハイライトが適用されます。
たとえば、 JavaScript コードを適用できます:
```js
grunt.initConfig({
assemble: {
options: {
assets: 'docs/assets',
data: 'src/data/*.{json,yml}',
helpers: 'src/custom-helpers.js',
partials: ['src/partials/**/*.{hbs,md}']
},
pages: {
options: {
layout: 'default.hbs'
},
files: {
'./': ['src/templates/pages/index.hbs']
}
}
}
};
```
次のようにレンダリングされます:
grunt.initConfig({
assemble: {
options: {
assets: 'docs/assets',
data: 'src/data/*.{json,yml}',
helpers: 'src/custom-helpers.js',
partials: ['src/partials/**/*.{hbs,md}']
},
pages: {
options: {
layout: 'default.hbs'
},
files: {
'./': ['src/templates/pages/index.hbs']
}
}
}
};
Tip
ハイライトさせるには、 Highlight plugin をインストールして、有効化する必要があります。これは jQuery を使っており、テーマでも読み込む必要があります。
表
表は、それぞれのセルをパイプ( | )で区切って作ります。
そして、表のヘッダの下に、(バーで区切られた)ダッシュ( - )の行を)追加してください。
なお、パイプは垂直に揃える必要はありません。
| Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
次のようにレンダリングされます:
| Option | Description |
|---|---|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
そして HTML です:
<table>
<thead>
<tr>
<th>Option</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>data</td>
<td>path to data files to supply the data that will be passed into templates.</td>
</tr>
<tr>
<td>engine</td>
<td>engine to be used for processing templates. Handlebars is the default.</td>
</tr>
<tr>
<td>ext</td>
<td>extension to be used for dest files.</td>
</tr>
</tbody>
</table>
表のテキストを右に揃える
ダッシュの行の右側にコロンを追加すると、その列は右揃えになります。
| Option | Description |
| ------:| -----------:|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
| Option | Description |
|---|---|
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
Enhanced Tables
Grav 2.0 では、5つの オプトイン テーブル拡張を追加しました。
これらは、すべて デフォルトでは無効 であり、標準的なテーブルは、変更されません — Configuration でグローバルに拡張機能を有効化したり、各ページのフロントまたーで有効化しない限りは:
markdown:
tables:
colspan: true
headerless: true
captions: true
attributes: true
multiline: true
Colspan
セルを空にして、左のセルにマージさせると、セルの colspan が拡大します(MultiMarkdown の規約です)。
| Item | Jan | Feb | Mar |
| :-- | --: | --: | --: |
| Widgets | 10 | 12 | 9 |
| Total for the quarter | | | 57 |
最後の行のラベルスパンは、3列です:
<tr>
<td style="text-align: left;" colspan="3">Total for the quarter</td>
<td style="text-align: right;">57</td>
</tr>
Header-less
区切り線の行から直接テーブルを始めると、 <tbody> のみのヘッダー無しテーブルを作成します。
| --- | --- |
| Mercury | Closest to the Sun |
| Neptune | Furthest from the Sun |
<table>
<tbody>
<tr><td>Mercury</td><td>Closest to the Sun</td></tr>
<tr><td>Neptune</td><td>Furthest from the Sun</td></tr>
</tbody>
</table>
Captions
テーブルの直後に [Caption] 行があると、(テーブルの最初の子要素としてレンダリングされる) <caption> タグになります。そのキャプション内のインラインマークダウンはパースされます。
| Symbol | Element |
| --- | --- |
| H | Hydrogen |
| He | Helium |
[The first two elements of the periodic table]
<table>
<caption>The first two elements of the periodic table</caption>
<thead>...</thead>
<tbody>...</tbody>
</table>
Attributes
テーブルの直後に {.class #id} 行があると、 <table> 要素に class や id を設定します — .striped や .responsive のようなスタイルクラスのある CSS フレームワークで便利です。
よく使われる {:.class} (コロンに続ける)やり方も使えます。class と id のみが認識されます; 他のトークンは触れられないまま残します。
| Name | Role |
| --- | --- |
| Ada | Engineer |
| Grace | Architect |
{.striped .responsive #team-table}
<table class="striped responsive" id="team-table">
...
</table>
Multi-line cells
バックスラッシュ(\)で行を終えると、次の行に続きます:
続く行のセルは、列ごとに上の行にマージされ、 <br> で繋げられます。
空のセルは、何も追加しないので、1列だけ次の行に持ち越すことができます。
| Feature | Description |
| --- | --- |
| Tables | Alignment, escaped pipes, \
| | and inline cell content |
| Lists | Ordered, unordered and task lists |
<tr>
<td>Tables</td>
<td>Alignment, escaped pipes,<br>and inline cell content</td>
</tr>
リンク
普通のリンク
[Assemble](https://assemble.io)
次のようにレンダリングされます。 リンクの上でホバーしてみると、ツールチップがありません:
HTML:
<a href="https://assemble.io">Assemble</a>
タイトルをつけたリンク
[Upstage](https://github.com/upstage/ "Visit Upstage!")
次のようにレンダリングされます。 リンクの上でホバーしてみると、ツールチップが出ます:
HTML:
<a href="https://github.com/upstage/" title="Visit Upstage!">Upstage</a>
アンカー・リンク
アンカーリンクは、同じページのアンカーポイントへジャンプする機能です。たとえば、次のようなそれぞれのチャプターは:
# Table of Contents
* [Chapter 1](#chapter-1)
* [Chapter 2](#chapter-2)
* [Chapter 3](#chapter-3)
以下のようなセクションに飛びます:
## Chapter 1 <a id="chapter-1"></a>
Content for chapter one.
## Chapter 2 <a id="chapter-2"></a>
Content for chapter one.
## Chapter 3 <a id="chapter-3"></a>
Content for chapter one.
注意 アンカータグの配置は、任意です。ここでは目立たないようにインラインにしており、機能します。
Automatic Links
Note
素の www. URL やメールアドレスの自動リンクは、 Grav 2.0 の新機能 (GitHub フレーバーマークダウンの autolinks) であり、デフォルトで有効です。
素の http(s):// URL は、 Auto URL Links オプションで分けて制御され、デフォルトでオフのままです。
素の www. URL やメールアドレスは、マークアップの必要無く、自動でリンク化します:
Visit www.getgrav.org or email hello@getgrav.org.
レンダリング:
Visit www.getgrav.org or email hello@getgrav.org.
HTML:
<p>Visit <a href="http://www.getgrav.org">www.getgrav.org</a> or email <a href="mailto:hello@getgrav.org">hello@getgrav.org</a>.</p>
画像
画像は、リンクの構文に似ていますが、イクスクラメーションマーク( ! )が最初に付きます。


もしくは:


リンクと同様、画像にも脚注のような構文があります:
![Alt text][id]

あとで、URLを指定することができます:
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
Configuration
マークダウンのレンダリングは、管理パネルの Configuration → System → Markdown で設定するか、 user/config/system.yaml 内の pages.markdown キーで設定します。
オプションは全て、各ページのフロントまたー内の markdown: キーで上書き可能です。
デフォルトは:
pages:
markdown:
extra: false # Enable Markdown Extra
auto_line_breaks: false # Treat a single newline as a <br>
auto_url_links: false # Autolink bare http(s):// URLs
escape_markup: false # Escape inline HTML into entities
gfm: # GitHub Flavored Markdown - on by default
task_lists: true # - [ ] / - [x] checkboxes
marks: true # ==highlight==, ~subscript~, ^superscript^
tagfilter: true # Escape disallowed raw HTML tags
autolinks: true # Autolink bare www. URLs and emails
tables: # Enhanced table extensions - off by default
colspan: false # Empty cell merges into the cell on its left
headerless: false # Table may start at the divider row
captions: false # [Caption] line after a table becomes <caption>
attributes: false # {.class #id} line after a table sets attributes
multiline: false # Row ending in \ continues onto the next line
gfm オプションは、既存コンテンツのレンダリング(checkboxes, <mark>/<sub>/<sup>, autolinked URLs, escaped raw HTML) を変更するので、過去のやり方が必要な場合は有効にできます。tables 拡張は、デフォルトですべて無効であり、オプトインしない限り、標準的なテーブルに影響はありません。
Tip
プラグイン開発者は、独自のマークダウン構文 — カスタムブロックおよびインラインマーク — を追加できます。 Markdown Extensions API をご覧ください。