Skip to content

Commit 4c2ec94

Browse files
committed
minor change in code
1 parent 8765ee6 commit 4c2ec94

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

docs/03extras/04website/02docusaurus/index.mdx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,18 +84,22 @@ import LifeGame from "@site/src/components/LifeGame/LifeGame";
8484

8585
<InteractiveCodeEditor
8686
language="markdown"
87-
defaultValue={`- アイテム 1
87+
defaultValue={`\
88+
- アイテム 1
8889
- アイテム 2
89-
- アイテム 3`}
90+
- アイテム 3\
91+
`}
9092
/>
9193

9294
6. 番号付き箇条書きは次のようにして書けます。
9395

9496
<InteractiveCodeEditor
9597
language="markdown"
96-
defaultValue={`1. アイテム 1
98+
defaultValue={`\
99+
1. アイテム 1
97100
1. アイテム 2
98-
1. アイテム 3`}
101+
1. アイテム 3\
102+
`}
99103
/>
100104

101105
7. バッククォート( `` ` `` )で囲むことでインラインコードを表示することができます。
@@ -106,9 +110,11 @@ import LifeGame from "@site/src/components/LifeGame/LifeGame";
106110

107111
<InteractiveCodeEditor
108112
language="markdown"
109-
defaultValue={`\`\`\`python
113+
defaultValue={`\
114+
\`\`\`python
110115
print("Hello World!")
111-
\`\`\``}
116+
\`\`\`\
117+
`}
112118
/>
113119

114120
9. リンクは次のようにして表すことができます。

docs/03extras/04website/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Web サイトは、HTML を用いて作るのが一般的です。以下に HTML
1919

2020
<InteractiveCodeEditor
2121
language="html"
22-
defaultValue={`
22+
defaultValue={`\
2323
<!DOCTYPE html>
2424
<html lang="ja">
2525
<head>
@@ -30,7 +30,7 @@ Web サイトは、HTML を用いて作るのが一般的です。以下に HTML
3030
<body>
3131
<p>Hello World!</p>
3232
</body>
33-
</html>
33+
</html>\
3434
`}
3535
/>
3636

0 commit comments

Comments
 (0)