fix: display of txt code block (#3149)

This commit is contained in:
shadcn
2024-03-25 16:16:40 +04:00
committed by GitHub
parent d4872067a6
commit 7c3da3e348
2 changed files with 1 additions and 8 deletions

View File

@@ -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

View File

@@ -15,7 +15,7 @@
}
[data-rehype-pretty-code-fragment] {
@apply relative;
@apply relative text-white;
}
[data-rehype-pretty-code-fragment] code {