### Clone all Rstack examples and run a specific one Source: https://github.com/rspack-contrib/rstack-examples/blob/main/README.md This snippet provides instructions to clone the entire rstack-examples repository, navigate into a chosen example directory (e.g., Rsbuild react), enable pnpm with corepack, install dependencies, and start the development server. ```bash git clone git@github.com:rspack-contrib/rstack-examples.git cd rsbuild/react # Use corepack to enable pnpm corepack enable pnpm i pnpm run dev ``` -------------------------------- ### Installing Dependencies and Running the Rsbuild Project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/README.md These commands enable pnpm using corepack, install the project dependencies using pnpm, and then start the development server for the Rsbuild React example. ```bash # Use corepack to enable pnpm corepack enable pnpm i pnpm run dev ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-components/README.md This command starts the development server, typically with hot-reloading, allowing for local development and testing of the application. ```bash pnpm dev ``` -------------------------------- ### Clone and run a single Rstack example using gitpick Source: https://github.com/rspack-contrib/rstack-examples/blob/main/README.md This snippet demonstrates how to clone a specific sub-directory example from the rstack-examples repository using `npx gitpick`, navigate into the cloned directory, and install its dependencies with pnpm. ```bash # Clone the basic example npx gitpick https://github.com/rspack-contrib/rstack-examples/tree/main/rspack/basic # Enter the basic example directory cd basic # Install the dependencies pnpm i ``` -------------------------------- ### Running Monaco Editor Webpack Plugin Sample Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rspack/monaco-editor-webpack-plugin/index.html Commands to install dependencies, start a simple server, and build the project for the Monaco Editor Webpack Plugin sample. ```shell $/> npm install . $/> npm run simpleserver $/browser-esm-webpack-monaco-plugin> npm run build ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-jsx/README.md This command installs all required project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies are updated. ```bash pnpm install ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-components/README.md This command installs all necessary project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change. ```bash pnpm install ``` -------------------------------- ### Start Development Server for Rsbuild Project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/express/README.md This command initiates the development server for the Rsbuild application. It typically includes features like hot module replacement for a smooth development experience. ```bash pnpm dev ``` -------------------------------- ### Start Development Server for Rsbuild Project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/emotion/README.md This command launches the development server for the Rsbuild project, enabling live reloading and hot module replacement for efficient local development. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/emotion/README.md This command installs all required project dependencies using the pnpm package manager, ensuring a consistent and efficient setup for the Rsbuild project. ```bash pnpm install ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/ssr-express/README.md This command initiates the development server for the Rsbuild project. It typically includes features like hot-reloading and live preview, making it suitable for active development and testing. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/express/README.md This command installs all required project dependencies as defined in the package.json file, using the pnpm package manager. It should be run after cloning the repository or when new dependencies are added. ```bash pnpm install ``` -------------------------------- ### Start Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react/README.md Starts the development server for the Rsbuild project, allowing for live development and testing. ```bash pnpm dev ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-jsx/README.md This command starts the development server for the Rsbuild project, enabling live reloading and local development. It's typically used during active development. ```bash pnpm dev ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-auto-import/README.md This command initiates the development server for the Rsbuild project. It typically includes features like hot module reloading, enabling real-time preview and efficient development of the application. ```bash pnpm dev ``` -------------------------------- ### Preview Production Build Locally with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-components/README.md This command allows you to preview the production-ready build locally, simulating how it would behave once deployed without needing a full server setup. ```bash pnpm preview ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss-v4/README.md This command installs all necessary project dependencies as defined in the project's package.json file using the pnpm package manager. It should be run after cloning the repository or when new dependencies are added to ensure all required packages are available. ```bash pnpm install ``` -------------------------------- ### Start Rsbuild Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/stylex/README.md Starts the local development server for the Rsbuild project. This allows developers to view and test their application in real-time during development. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/ssr-express/README.md This command installs all required project dependencies using the pnpm package manager. It should be run after cloning the repository or when new dependencies are added to ensure all necessary packages are available. ```bash pnpm install ``` -------------------------------- ### Start Development Server (pnpm) Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-mdx/README.md Starts the development server for the Rsbuild project, enabling live reloading and local development. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-auto-import/README.md This command installs all required project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change to ensure all necessary packages are available. ```bash pnpm install ``` -------------------------------- ### Start Development Server for Rsbuild Project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss-v4/README.md This command initiates the development server for the Rsbuild project, enabling features like hot module replacement and live reloading. It's typically used during active development to see changes instantly. ```bash pnpm dev ``` -------------------------------- ### Build Rsbuild Application for Production Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/emotion/README.md This command compiles and optimizes the Rsbuild application for production deployment, generating optimized assets and bundles ready for distribution. ```bash pnpm build ``` -------------------------------- ### Start Rsbuild Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue2/README.md Starts the development server for the Rsbuild application. This allows for live reloading and development previews. ```bash pnpm dev ``` -------------------------------- ### Preview Production Build Locally Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/emotion/README.md This command allows you to locally preview the optimized production build of the Rsbuild application, verifying its functionality and performance before actual deployment. ```bash pnpm preview ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/fastify/README.md This command starts the development server for the Rsbuild project. It enables hot-reloading and provides a local environment for development, allowing real-time preview of changes. ```bash pnpm dev ``` -------------------------------- ### Install Rsbuild Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-eslint/README.md Installs all project dependencies using pnpm. Run this command after cloning the repository or when `package.json` changes to ensure all required packages are available for development and building. ```bash pnpm install ``` -------------------------------- ### Build Rsbuild Application for Production Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/express/README.md This command compiles and optimizes the Rsbuild application for production deployment. It generates static assets and bundles them for efficient delivery. ```bash pnpm build ``` -------------------------------- ### Build and Start NestJS Project with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rspack/nestjs/README.md These commands are used to compile the NestJS application and then launch it. 'pnpm run build' compiles the TypeScript source code into JavaScript, and 'pnpm run start' executes the compiled application. ```js pnpm run build pnpm run start ``` -------------------------------- ### Build Application for Production with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-components/README.md This command compiles and optimizes the application for production deployment, generating static assets and an optimized build. ```bash pnpm build ``` -------------------------------- ### Install dependencies for Rsbuild project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/lit/README.md This command installs all necessary project dependencies using pnpm. ```bash pnpm install ``` -------------------------------- ### Start Rsbuild Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/preact/README.md This command starts the development server for the Rsbuild project. It enables hot module replacement and live reloading for efficient development. ```bash pnpm dev ``` -------------------------------- ### Install Dependencies for Rsbuild Project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/ssr-express-with-manifest/README.md Installs all necessary project dependencies using pnpm. ```bash pnpm install ``` -------------------------------- ### Install Project Dependencies Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react/README.md Installs all necessary project dependencies using the pnpm package manager. ```bash pnpm install ``` -------------------------------- ### Start Development Server (pnpm) Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-compiler-babel/README.md Starts the development server for the Rsbuild project, enabling live reloading and hot module replacement for efficient development. ```bash pnpm dev ``` -------------------------------- ### Preview Production Build Locally Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/express/README.md This command allows you to locally preview the optimized production build of the Rsbuild application. It simulates how the application will behave once deployed to a production environment. ```bash pnpm preview ``` -------------------------------- ### Preview Production Build Locally with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-jsx/README.md This command allows you to locally preview the production-ready build of the Rsbuild application. It's useful for verifying the optimized output before deployment. ```bash pnpm preview ``` -------------------------------- ### Preview Production Build Locally with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-auto-import/README.md This command allows you to locally preview the production-ready build of the Rsbuild application. It is useful for verifying the optimized output before actual deployment. ```bash pnpm preview ``` -------------------------------- ### Start development server for Rsbuild project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/lit/README.md This command starts the development server, typically with hot-reloading, for the Rsbuild project. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/fastify/README.md This command installs all necessary project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change to ensure all required packages are available. ```bash pnpm install ``` -------------------------------- ### Preview Rsbuild Production Build Locally Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss/README.md Starts a local server to preview the production-ready build of the Rsbuild application, allowing verification before deployment. ```bash pnpm preview ``` -------------------------------- ### Start Rsbuild Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-eslint/README.md Starts the local development server for the Rsbuild project. This command enables live reloading and hot module replacement, facilitating rapid development and testing. ```bash pnpm dev ``` -------------------------------- ### Install Rsbuild Project Dependencies Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/preact/README.md This command installs all necessary project dependencies using pnpm. It should be run once after cloning the repository or when dependencies change. ```bash pnpm install ``` -------------------------------- ### Install Rsbuild Project Dependencies Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss/README.md This command installs all necessary project dependencies using pnpm, preparing the project for development or building. ```bash pnpm install ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3/README.md This command starts the development server, typically with hot-reloading, allowing for local development and testing of the Rsbuild application. ```bash pnpm dev ``` -------------------------------- ### Build Rsbuild Application for Production with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/styled-jsx/README.md This command compiles and optimizes the Rsbuild application for production deployment. It generates optimized assets and bundles for efficient loading. ```bash pnpm build ``` -------------------------------- ### Preview Rsbuild production build locally Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vanilla-extract/README.md This command starts a local server to preview the production-ready build of the Rsbuild application. It's useful for verifying the optimized output, checking performance, and ensuring everything works as expected before actual deployment. ```bash pnpm preview ``` -------------------------------- ### Build Application for Production with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-auto-import/README.md This command compiles and optimizes the Rsbuild application for production deployment. It generates static assets and an optimized build, ready for hosting. ```bash pnpm build ``` -------------------------------- ### Start Rsbuild development server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-element-plus/README.md This command starts the development server for the Rsbuild project. It enables live reloading and hot module replacement, facilitating efficient development workflows. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies (pnpm) Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-mdx/README.md Installs all necessary project dependencies using pnpm, ensuring the project is ready for development or build operations. ```bash pnpm install ``` -------------------------------- ### Install Project Dependencies (pnpm) Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-compiler-babel/README.md Installs all required project dependencies using pnpm. This command should be run once after cloning the repository or when dependencies are updated. ```bash pnpm install ``` -------------------------------- ### Start Rsbuild Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/svelte/README.md This command starts the development server for the Rsbuild project, enabling live reloading and local development. It's typically used during active development to see changes in real-time. ```bash pnpm dev ``` -------------------------------- ### Start Development Server for Rsbuild Project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/ssr-express-with-manifest/README.md Starts the development server for the Rsbuild project, typically with hot-reloading. ```bash pnpm dev ``` -------------------------------- ### Start Rsbuild development server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/solid/README.md This command starts the development server for the Rsbuild project, enabling live reloading and local development. It's typically used during active development to see changes in real-time without manual refreshes. ```bash pnpm dev ``` -------------------------------- ### Install project dependencies (pnpm) Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-jest/README.md Installs all necessary project dependencies using the pnpm package manager. This command should be run after cloning the repository to prepare the project for development. ```bash pnpm install ``` -------------------------------- ### Start the Rsbuild development server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vanilla-extract/README.md This command initiates the development server for the Rsbuild project. It typically includes features like hot module replacement and live reloading, making it suitable for active development and testing changes in real-time. ```bash pnpm dev ``` -------------------------------- ### Install dependencies for Rsbuild project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/shadcn-ui/README.md This command installs all necessary project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies are updated. ```bash pnpm install ``` -------------------------------- ### Preview Production Build Locally with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/ssr-express/README.md This command allows you to locally preview the production-ready build of the Rsbuild application. It's useful for verifying the built output and testing its behavior before actual deployment. ```bash pnpm preview ``` -------------------------------- ### Preview Production Build Locally Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss-v4/README.md This command allows you to locally preview the production-ready build of the Rsbuild application. It's useful for verifying the built output and ensuring everything works as expected before actual deployment. ```bash pnpm preview ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/stylex/README.md Installs all required project dependencies using the pnpm package manager. This command should be run after cloning the repository or when new dependencies are added. ```bash pnpm install ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-vant/README.md This command starts the development server for the Rsbuild project, enabling live reloading and local development. It's typically used during active development. ```bash pnpm dev ``` -------------------------------- ### Start development server for Rsbuild project Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/shadcn-ui/README.md This command initiates the local development server for the Rsbuild project. It typically includes features like hot module replacement for a smooth development experience. ```bash pnpm dev ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3/README.md This command installs all necessary project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change. ```bash pnpm install ``` -------------------------------- ### Basic Markdown Syntax Example Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rspress/basic/docs/guide/index.md Illustrates a fundamental Markdown file structure with a simple H1 heading, demonstrating basic content creation in Rspress. ```md # Hello World ``` -------------------------------- ### Preview local production build Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-eslint/README.md Starts a local server to preview the production-ready build of the Rsbuild application. This is useful for verifying the built output before deployment. ```bash pnpm preview ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-vant/README.md This command installs all necessary project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change. ```bash pnpm install ``` -------------------------------- ### Install project dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/solid/README.md This command installs all required project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change to ensure all necessary packages are available for development and building. ```bash pnpm install ``` -------------------------------- ### Start Development Server with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/umd/README.md This command starts the development server for the Rsbuild project. It enables features like hot-reloading and provides a local URL to access the application during development, facilitating rapid iteration. ```bash pnpm dev ``` -------------------------------- ### Build Rsbuild Application for Production Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss-v4/README.md This command compiles and optimizes the Rsbuild application for production deployment. It generates a highly optimized and minified set of static assets ready for hosting on a web server. ```bash pnpm build ``` -------------------------------- ### Start Rsbuild development server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/query-raw/README.md This command initiates the development server for the Rsbuild project, enabling live reloading and local development. It is typically used during active development cycles to see changes instantly. ```bash pnpm dev ``` -------------------------------- ### Install project dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-element-plus/README.md This command installs all required project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies are updated. ```bash pnpm install ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue2/README.md Installs all necessary project dependencies using the pnpm package manager. This command should be run once after cloning the repository or when dependencies change. ```bash pnpm install ``` -------------------------------- ### Start Rsbuild Development Server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-tailwindcss/README.md Initiates the development server for the Rsbuild project, enabling live reloading and local testing during development. ```bash pnpm dev ``` -------------------------------- ### Install project dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vanilla-extract/README.md This command installs all required project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change to ensure all necessary packages are available. ```bash pnpm install ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/svelte/README.md This command installs all necessary project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change to ensure all required packages are available. ```bash pnpm install ``` -------------------------------- ### Start Rsbuild development server (pnpm) Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-jest/README.md Starts the development server for the Rsbuild project, enabling live reloading and local development. This command is typically used during active development. ```bash pnpm dev ``` -------------------------------- ### Install project dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-eslint/README.md Installs all required project dependencies using the pnpm package manager. This command should be run after cloning the repository or when new dependencies are added. ```bash pnpm install ``` -------------------------------- ### Install project dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/query-raw/README.md This command installs all required project dependencies using the pnpm package manager. It should be executed once after cloning the repository or whenever the project's dependencies are updated. ```bash pnpm install ``` -------------------------------- ### Build Production Application with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/ssr-express/README.md This command compiles and optimizes the Rsbuild application for production deployment. It generates static assets and prepares the application for efficient serving in a production environment. ```bash pnpm build ``` -------------------------------- ### Install Project Dependencies with pnpm Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/umd/README.md This command installs all required project dependencies using the pnpm package manager. It should be run once after cloning the repository or when dependencies change to ensure all necessary packages are available. ```bash pnpm install ``` -------------------------------- ### Start the Rsbuild development server Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/vue3-eslint/README.md Launches the development server for the Rsbuild project, enabling live reloading and local development. This command is typically used during active development. ```bash pnpm dev ``` -------------------------------- ### Creating Custom Containers with ::: Syntax Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rspress/basic/docs/guide/index.md Provides examples of the `:::` syntax for creating various types of custom containers (e.g., tip, info, warning, danger, details) and demonstrates how to include custom titles for these blocks. ```markdown :::tip This is a `block` of type `tip` ::: :::info This is a `block` of type `info` ::: :::warning This is a `block` of type `warning` ::: :::danger This is a `block` of type `danger` ::: ::: details This is a `block` of type `details` ::: :::tip Custom Title This is a `block` of `Custom Title` ::: :::tip{title="Custom Title"} This is a `block` of `Custom Title` ::: ``` -------------------------------- ### Basic Robots.txt Configuration Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rspack/cra-ts/public/robots.txt This robots.txt file allows all user agents to crawl the entire website by specifying an empty Disallow directive. It's a common configuration for sites that want full indexation and do not have specific paths to restrict. ```Robots.txt User-agent: * Disallow: ``` -------------------------------- ### JSX Component with Inline Styles and Markdown Source: https://github.com/rspack-contrib/rstack-examples/blob/main/rsbuild/react-mdx/src/hello.mdx This JSX snippet defines a div element with inline styles for background color and padding. It demonstrates how to embed markdown-like text within a JSX component. ```JSX