Skip to content

Commit

Permalink
feat: remove <Prism/> from astro/components
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed Mar 24, 2022
1 parent 5739420 commit 0f0b14d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 50 deletions.
5 changes: 5 additions & 0 deletions examples/with-markdown/src/pages/prism.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
import {Prism} from '@astrojs/prism/components';
---

<Prism lang="js" code={`const foo = 'bar';`} />
49 changes: 0 additions & 49 deletions packages/astro/components/Prism.astro

This file was deleted.

1 change: 0 additions & 1 deletion packages/astro/components/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export { default as Code } from './Code.astro';
export { default as Debug } from './Debug.astro';
export { default as Markdown } from './Markdown.astro';
export { default as Prism } from './Prism.astro';

0 comments on commit 0f0b14d

Please sign in to comment.