mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-26 22:26:05 +00:00
fix: display of txt code block (#3149)
This commit is contained in:
@@ -26,16 +26,9 @@ npx shadcn-ui@latest init
|
||||
You will be asked a few questions to configure `components.json`:
|
||||
|
||||
```txt showLineNumbers
|
||||
Would you like to use TypeScript (recommended)? no / yes
|
||||
Which style would you like to use? › Default
|
||||
Which color would you like to use as base color? › Slate
|
||||
Where is your global CSS file? › › app/globals.css
|
||||
Do you want to use CSS variables for colors? › no / yes
|
||||
Are you using a custom tailwind prefix eg. tw-? (Leave blank if not) ...
|
||||
Where is your tailwind.config.js located? › tailwind.config.js
|
||||
Configure the import alias for components: › @/components
|
||||
Configure the import alias for utils: › @/lib/utils
|
||||
Are you using React Server Components? › no / yes
|
||||
```
|
||||
|
||||
### Fonts
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
}
|
||||
|
||||
[data-rehype-pretty-code-fragment] {
|
||||
@apply relative;
|
||||
@apply relative text-white;
|
||||
}
|
||||
|
||||
[data-rehype-pretty-code-fragment] code {
|
||||
|
||||
Reference in New Issue
Block a user