Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions docs/03extras/04website/02docusaurus/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ import InteractiveCodeEditor from "@site/src/components/InteractiveCodeEditor/In
import installDocusaurus from "./install_docusaurus.mp4";
import editDocusaurus from "./edit_docusaurus.mp4";
import LifeGame from "@site/src/components/LifeGame/LifeGame";
export const defaultMathValue = `\
$a^2 + b^2 = c^2$
$$
\\frac{\\pi}{2} =
\\left( \\int_{0}^{\\infty} \\frac{\\sin x}{\\sqrt{x}} dx \\right)^2 =
\\sum_{k=0}^{\\infty} \\frac{(2k)!}{2^{2k}(k!)^2} \\frac{1}{2k+1} =
\\prod_{k=1}^{\\infty} \\frac{4k^2}{4k^2 - 1}
$$\
`;

# Docusaurus のプロジェクトの作成方法

Expand Down Expand Up @@ -137,9 +146,7 @@ import LifeGame from "@site/src/components/LifeGame/LifeGame";

<InteractiveCodeEditor
language="markdown"
defaultValue={
"$a^2 + b^2 = c^2$\n$$\n\\frac{\\pi}{2} =\n \\left( \\int_{0}^{\\infty} \\frac{\\sin x}{\\sqrt{x}} dx \\right)^2 =\n \\sum_{k=0}^{\\infty} \\frac{(2k)!}{2^{2k}(k!)^2} \\frac{1}{2k+1} =\n \\prod_{k=1}^{\\infty} \\frac{4k^2}{4k^2 - 1}\n$$"
}
defaultValue={defaultMathValue}
/>

:::
Expand Down