Wraps the inline code content in backticks.
Inline Code
1 min readStableBeginner
Use backticks for inline code like npm run dev or next.config.mjs. Variable names like searchIndex and file paths like app/globals.css also render with inline code styling.
Quick Start
A single inline code span.
Run npm run dev to start the server.
Adding Options
Multiple inline code spans in one sentence.
Set THEME_VARIANT in .env.local, then restart npm run dev.
Advanced
Inline code inside prose, lists, and headings.
Inline code in headings
- The
searchIndexis built fromlib/search-index.ts. - Use
Cmd+Kto open search. - The
app/globals.cssfile holds theme variables.
Options
`code`markerRelated pages
Was this page helpful?