Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions packages/react-code-view/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A React component library for rendering code with live preview and syntax highli
## Features

- 🎨 **Live Preview** - Execute and preview React code in real-time
- ✨ **Syntax Highlighting** - Powered by highlight.js
- ✨ **Syntax Highlighting** - Powered by Shiki
- ✏️ **Editable Code** - Built-in code editor with optional CodeMirror support
- 📝 **Markdown Support** - Render markdown with code blocks
- 🔌 **Universal Plugin** - Works with Webpack, Vite, Rollup, esbuild, and Rspack
Expand All @@ -34,9 +34,6 @@ yarn add react-code-view
import CodeView from 'react-code-view';
import 'react-code-view/styles';

// Optional: import highlight.js theme
import 'highlight.js/styles/atom-one-dark.css';

function App() {
const code = `
<button onClick={() => alert('Hello!')}>
Expand Down
3 changes: 0 additions & 3 deletions packages/react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ npm install @react-code-view/react @react-code-view/core
import { CodeView } from '@react-code-view/react';
import '@react-code-view/react/styles/index.css';

// Optional: import highlight theme
import 'highlight.js/styles/atom-one-dark.css';

function App() {
const code = `
<Button color="primary">
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ interface PluginOptions {
*/
rendererOptions?: {
languages?: string[];
// ... highlight.js options
// ... Shiki options
};
}
```
Expand Down