copy&pastでは一行目がテキストになった
slugとタイトルは同じ
importではfilenameがslugとタイトルになった
Heading h1
Heading h2
Heading h3
Heading h4
Heading h5
Heading h6
Note: h1 – h4 items will be automatically added to the Table of Contents.
Emphasis
Italics
text
Wrap text with a single _ for Italic text:
This is italic text.
Bold
Wrap text with double ** for Bold text:
This is bold text.
Strikethrough
Wrap text with double ~~ for strikethrough text:
This is strikethrough text.
links
Links
Wrap the title in square brackets [title] immediately followed by the URL in (https://example.com):
画像 img
の画像をサポートしています。
footnotes
I have more [^1] to say up here.
[^1]: To say down here.
I have more [^1] to say up here.
[^1]: To say down here.
note
:::note info
インフォメーション
infoは省略可能です。
:::
:::note warn
警告
○○に注意してください。
:::
:::note alert
より強い警告
○○しないでください。
:::
Blocks
Blockquotes
Use > for blockquotes, double >> to further indent:
Blockquote
Indented Blockquote
Code block
This is a
piece of code
in a block
This too
Lists
checkbox
- [ ] タスク1
- [x] タスク2
Unordered Lists
Use – for unordered lists, and intent two spaces for list subitems:
- List
- List
- List
- List
Ordered Lists
Use numbered items followed by a `.:
- One
- Two
- Three
Definition Lists
WordPress
: A semantic personal publishing platform
Markdown
: Text-to-HTML conversion tool
Horizontal Rules
Use — for a horizontal rules:
Tables
| A | B |
|---|---|
| Alpha | Bravo |
Example Code
Inline Code
Wrap inline code with single “` backticks:
This is `inline code` wrapped with backticks
When documenting an example, use the markdown “` code block to demarcate the beginning and end of the code sample:
Fenced Code Blocks
Javascript
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
JSON
{
"firstName": "John",
"lastName": "Smith",
"address": {
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": "10021-3100"
},
"phoneNumbers": [
{
"type": "home",
"number": "212 555-1234"
},
{
"type": "office",
"number": "646 555-4567"
}
],
"children": [],
"spouse": null
}
CSS
foo {
padding: 5px;
margin-right: 3px;
}
.bar {
background-color: #f00;
}
SCSS
foo {
padding: 5px;
margin-right: 3px;
}
.bar {
background-color: #f00;
}
HTML
<span class="my-class">Example</span>
PHP
$array = array(
"foo" => "bar",
"bar" => "foo",
);
Markdown
This is _italic text_. This is **bold text**.
