Comments (1)
The same change could be made to the example code given in the Astro docs about the Prism component, i.e.
---
import { Prism } from '@astrojs/prism';
---
<Prism lang="js" code={String.raw`const foo = 'bar';`} />
from docs.
Related Issues (20)
- ci: Upgrade `pnpm/setup-action` GitHub Action
- Missing description of different results of `paginate()` when using rest parameter in file-based routing HOT 2
- Unable to add icons to external links HOT 2
- After "npm create @keystatic@latest", "npm run build" fails HOT 1
- following your Docker setup by the letter ends in error HOT 1
- [astro-rss] [tutorial] [docs] --- Blog-tutorial breaks on step 5.4 --- '@astrojs/rss' No API Route handler exists for the method "GET" for the route "/rss.xml". HOT 1
- Outdated caution warning? HOT 1
- ⚠️ Issue Sample code for 'Building for static output (default)' throws a "Property 'render' does not exist on type 'never'" HOT 1
- Clarify how to add images to RSS HOT 4
- No yarn version information HOT 1
- Clarify reference to Astro.currentLocale in guides/internationalization.mdx? HOT 2
- Astro Dev Server Errors when Dynamically Importing Images - Missing Image Dimensions & Unable to Retrieve Remote Image Dimensions HOT 1
- Incomplete or unclear guide for custom MDX components
- Confusing hybrid mode on Cookie HOT 4
- `@astrojs/db` NPM page links to nonexistent documentation page HOT 2
- Missing: Rendering content to HTML for `getCollection`
- Show how to merge classes passed as props when children have existing classes HOT 1
- Meta Docs related repos do not have LICENSE files
- MDX code example in the Layouts section does not work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.