Skip to content

Commit e786566

Browse files
committed
Termコンポーネントを書くための[[用語]]記法を導入
1 parent 4b2c22b commit e786566

File tree

6 files changed

+9589
-6058
lines changed

6 files changed

+9589
-6058
lines changed

docs/1-trial-session/02-html/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import openInBrowserVideo from "./open-in-browser.mp4";
77
import showFileExtensionsVideo from "./show-file-extensions.mp4";
88
import reloadBrowserVideo from "./reload-browser.mp4";
99

10-
Web開発に必ず用いられる言語があります。<Term>**HTML**</Term>とCSS、そしてJavaScriptです。これらは互いに異なる役割をもっています。まずは最も基本となる<Term>HTML</Term>から学んでいきましょう。
10+
Web開発に必ず用いられる言語があります。[[**HTML**]]とCSS、そしてJavaScriptです。これらは互いに異なる役割をもっています。まずは最も基本となる[[HTML]]から学んでいきましょう。
1111

1212
![Web開発で用いられる言語](./web-development-languages.drawio.svg)
1313

14-
## <Term>HTML</Term>を書き始める
14+
## [[HTML]]を書き始める
1515

1616
VS Codeの画面左端には、ファイル一覧が表示されています。新しいファイルを作成して、`index.html`と名付けましょう。ファイルの中身を次のようにした後、保存します。保存にはショートカットキー (<kbd>Ctrl</kbd> + <kbd>S</kbd> (Windows) / <kbd>command</kbd> + <kbd>S</kbd> (macOS) ) を用いてください。
1717

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { themes as prismThemes } from "prism-react-renderer";
22
import { execSync } from "node:child_process";
33
import math from "remark-math";
44
import katex from "rehype-katex";
5+
import remarkTerm from "./src/components/Term/remark-term";
56

67
/** @type {import("@docusaurus/types").Config} */
78
const config = {
@@ -46,7 +47,7 @@ const config = {
4647
showLastUpdateTime: true,
4748
sidebarPath: "./sidebars.js",
4849
editUrl: "https://github.com/ut-code/utcode-learn/blob/master/",
49-
remarkPlugins: [math],
50+
remarkPlugins: [math, remarkTerm],
5051
rehypePlugins: [katex],
5152
},
5253
theme: {

0 commit comments

Comments
 (0)