Skip to content

Commit 1704ee9

Browse files
committed
fix(docs): prevent mdx from transforming -- into – for commands
1 parent 4928421 commit 1704ee9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/learn/building-a-react-framework.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The first step is to install a build tool like `vite`, `parcel`, or `rsbuild`. T
3333
[Vite](https://vite.dev/) is a build tool that aims to provide a faster and leaner development experience for modern web projects.
3434

3535
<TerminalBlock>
36-
npm create vite@latest my-app -- --template react
36+
{`npm create vite@latest my-app -- --template react`}
3737
</TerminalBlock>
3838

3939
Vite is opinionated and comes with sensible defaults out of the box. Vite has a rich ecosystem of plugins to support fast refresh, JSX, Babel/SWC, and other common features. See Vite's [React plugin](https://vite.dev/plugins/#vitejs-plugin-react) or [React SWC plugin](https://vite.dev/plugins/#vitejs-plugin-react-swc) and [React SSR example project](https://vite.dev/guide/ssr.html#example-projects) to get started.
@@ -45,7 +45,7 @@ Vite is already being used as a build tool in one of our [recommended frameworks
4545
[Parcel](https://parceljs.org/) combines a great out-of-the-box development experience with a scalable architecture that can take your project from just getting started to massive production applications.
4646

4747
<TerminalBlock>
48-
npm install --save-dev parcel
48+
{`npm install --save-dev parcel`}
4949
</TerminalBlock>
5050

5151
Parcel supports fast refresh, JSX, TypeScript, Flow, and styling out of the box. See [Parcel's React recipe](https://parceljs.org/recipes/react/#getting-started) to get started.
@@ -55,7 +55,7 @@ Parcel supports fast refresh, JSX, TypeScript, Flow, and styling out of the box.
5555
[Rsbuild](https://rsbuild.dev/) is an Rspack-powered build tool that provides a seamless development experience for React applications. It comes with carefully tuned defaults and performance optimizations ready to use.
5656

5757
<TerminalBlock>
58-
npx create-rsbuild --template react
58+
{`npx create-rsbuild --template react`}
5959
</TerminalBlock>
6060

6161
Rsbuild includes built-in support for React features like fast refresh, JSX, TypeScript, and styling. See [Rsbuild's React guide](https://rsbuild.dev/guide/framework/react) to get started.

0 commit comments

Comments
 (0)