diff --git a/.remarkrc.mjs b/.remarkrc.mjs index 3a3379b..99c9054 100644 --- a/.remarkrc.mjs +++ b/.remarkrc.mjs @@ -1,5 +1,6 @@ import remarkFrontmatter from 'remark-frontmatter'; import remarkMdx from 'remark-mdx'; +import remarkGfm from 'remark-gfm'; import remarkPresetLintRecommended from 'remark-preset-lint-recommended'; import remarkNoInlineCodeFences from './src/plugins/remark-no-inline-code-fences.mjs'; import remarkNoHtmlLinks from './src/plugins/remark-no-html-links.mjs'; @@ -9,6 +10,7 @@ export default { plugins: [ remarkFrontmatter, remarkMdx, + remarkGfm, remarkPresetLintRecommended, remarkNoInlineCodeFences, remarkNoHtmlLinks, diff --git a/package.json b/package.json index f6ccbb7..df4bb5e 100644 --- a/package.json +++ b/package.json @@ -55,6 +55,7 @@ "prettier-plugin-sentences-per-line": "^0.2.3", "remark-cli": "^12.0.1", "remark-frontmatter": "^5.0.0", + "remark-gfm": "^4.0.1", "remark-lint-no-dead-urls": "^2.0.1", "remark-mdx": "^3.1.1", "remark-preset-lint-recommended": "^7.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 898b2b8..ba4b2e8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,6 +84,9 @@ importers: remark-frontmatter: specifier: ^5.0.0 version: 5.0.0 + remark-gfm: + specifier: ^4.0.1 + version: 4.0.1 remark-lint-no-dead-urls: specifier: ^2.0.1 version: 2.0.1 diff --git a/src/content/docs/learning-course/stage1/stage1b/commands-and-mechanisms.mdx b/src/content/docs/learning-course/stage1/stage1b/commands-and-mechanisms.mdx index ddbebda..229eaf5 100644 --- a/src/content/docs/learning-course/stage1/stage1b/commands-and-mechanisms.mdx +++ b/src/content/docs/learning-course/stage1/stage1b/commands-and-mechanisms.mdx @@ -47,7 +47,7 @@ Notice that: when the command runs, like a method body. - This command will print "Full Speed Baby!" once before commanding the motor to spin at max speed. -- The `named("Set to Full Throttle")` call is required to create a `Command`. +- The `named("Set to Full Throttle")` call is required to create a `Command`.[^1] This allows coders to distinguish this command from others when debugging their code. To change the priority of the command, simply add a `withPriority(int)` call before @@ -135,3 +135,5 @@ That means you can run multiple commands in sequence: ```java #commandSequence ``` + +[^1]: [`NeedsNameBuilderStage.named()`]()