diff --git a/docs/1-trial-session/02-html/index.mdx b/docs/1-trial-session/02-html/index.mdx index aa760ff72..c96ca2bca 100644 --- a/docs/1-trial-session/02-html/index.mdx +++ b/docs/1-trial-session/02-html/index.mdx @@ -66,7 +66,7 @@ VS Code 上で作成したファイルは `index.html` でした。しかしな `body` 要素の中身を書き換え、次のようにしてみましょう。 - +{/* prettier-ignore */} ```html title="index.html" diff --git a/docs/1-trial-session/06-boolean/index.mdx b/docs/1-trial-session/06-boolean/index.mdx index 8f77b8f61..e6aa2c4df 100644 --- a/docs/1-trial-session/06-boolean/index.mdx +++ b/docs/1-trial-session/06-boolean/index.mdx @@ -69,7 +69,7 @@ const canRideRollerCoasters = age >= 10 && height >= 140; // true 次のコードは何を表示するでしょうか。そしてそれはなぜでしょうか。 - +{/* prettier-ignore */} ```javascript let takaoHeight = 599; let everestHeight = 8849; diff --git a/docs/1-trial-session/08-loop/index.mdx b/docs/1-trial-session/08-loop/index.mdx index 939beee36..21cd686ea 100644 --- a/docs/1-trial-session/08-loop/index.mdx +++ b/docs/1-trial-session/08-loop/index.mdx @@ -79,7 +79,8 @@ i = i + 1; i += 1; ``` - +\*/} ::: diff --git a/docs/1-trial-session/10-array/index.mdx b/docs/1-trial-session/10-array/index.mdx index ca8c61513..630f3a54e 100644 --- a/docs/1-trial-session/10-array/index.mdx +++ b/docs/1-trial-session/10-array/index.mdx @@ -229,7 +229,9 @@ document.write(`

空の配列の最大値は ${findMaxNumber([])} です。

- + +\*/} diff --git a/docs/2-browser-apps/03-class/index.mdx b/docs/2-browser-apps/03-class/index.mdx index a5ea11e2b..8cca7d3bb 100644 --- a/docs/2-browser-apps/03-class/index.mdx +++ b/docs/2-browser-apps/03-class/index.mdx @@ -357,8 +357,7 @@ document.write(false.toString()); // false ### 課題 - +{/* FIXME: 雑すぎるので修正してください。Answerタグもその時に追加してください。 */} `document.getElementById` 関数で `div` 要素を取得すると、[`HTMLDivElement` クラス](https://developer.mozilla.org/ja/docs/Web/API/HTMLDivElement)のインスタンスが返されます。このクラスは [`HTMLElement` クラス](https://developer.mozilla.org/ja/docs/Web/API/HTMLElement) を継承しており、さらに `HTMLElement` クラスは [`Element` クラス](https://developer.mozilla.org/ja/docs/Web/API/Element)を、`Element` クラスは [`Node` クラス](https://developer.mozilla.org/ja/docs/Web/API/Node)を継承しています。 diff --git a/docs/2-browser-apps/04-anonymous-function/index.mdx b/docs/2-browser-apps/04-anonymous-function/index.mdx index 439d783f0..00139a491 100644 --- a/docs/2-browser-apps/04-anonymous-function/index.mdx +++ b/docs/2-browser-apps/04-anonymous-function/index.mdx @@ -36,7 +36,7 @@ document.getElementById("strange-button").onclick = () => { JavaScript における関数式の構文は、次のとおりです。`=>` の記号が特徴的な構文となっています。 - +{/* prettier-ignore */} ```javascript (引数1, 引数2) => { 処理; diff --git a/docs/5-team-development/01-git-workflow/index.mdx b/docs/5-team-development/01-git-workflow/index.mdx index 44f421526..73fc5b456 100644 --- a/docs/5-team-development/01-git-workflow/index.mdx +++ b/docs/5-team-development/01-git-workflow/index.mdx @@ -113,7 +113,7 @@ HEAD が `master` ブランチを指している状態で、コミットを行 この例の場合、共通の祖先に対して `master` は `
  • 三四郎
  • ` が、`feature` は `
  • こころ
  • ` が**同じ場所に**追加されています。この状態で `git merge feature` を実行すると、Git は**コンフリクト**を報告し、マージを中断します。コンフリクトが発生したファイルには、Git により自動的に `<<<<<<<` や `=======`、`>>>>>>>` といったコンフリクトマーカーが挿入されます。 - +{/* 頭にインデントを入れておくことで Markdown ファイルのコンフリクトと認識させない */} {outdent` diff --git a/docs/9-old/day02/03.mdx b/docs/9-old/day02/03.mdx index 17eb9cf2c..6544b0301 100644 --- a/docs/9-old/day02/03.mdx +++ b/docs/9-old/day02/03.mdx @@ -10,7 +10,7 @@ title: JavaScriptによるプログラミング JavaScript において、セミコロン(`;`)で終わるまとまりを**文**と呼びます。JavaScript は、ファイルの先頭から終わりに向けて、順番に文が実行されます。 - +{/* prettier-ignore */} ```js document.write('Hello'); document.write('My'); document.write('Special'); document.write('World'); diff --git a/docs/9-old/day03/03.mdx b/docs/9-old/day03/03.mdx index 6a4ff33b2..2cd3c19ac 100644 --- a/docs/9-old/day03/03.mdx +++ b/docs/9-old/day03/03.mdx @@ -50,7 +50,7 @@ for (const element of elements) { ## 課題 - +{/* prettier-ignore */} ```html diff --git a/docs/9-old/day03/04.mdx b/docs/9-old/day03/04.mdx index 92550c304..7cd4512f0 100644 --- a/docs/9-old/day03/04.mdx +++ b/docs/9-old/day03/04.mdx @@ -68,7 +68,7 @@ callTwice(() => { は、 - +{/* prettier-ignore */} ```js x => { return x * 2;
    123456789