From 43fb18f3277dff9c0c1209dcbc283abf4bdb328d Mon Sep 17 00:00:00 2001 From: Bunlong Date: Sat, 17 Dec 2022 18:04:13 +0700 Subject: [PATCH] Update README --- README.md | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 97927c2..5a179e0 100644 --- a/README.md +++ b/README.md @@ -769,9 +769,9 @@ import { usePrism } from 'next-prism' import 'next-prism/themes/tomorrow.css' // Import line-numbers source -import 'next-prism/plugins/line-numbers/line-numbers'; +import 'next-prism/plugins/line-numbers/line-numbers' // Import line-numbers.css -import 'next-prism/plugins/line-numbers/line-numbers.css'; +import 'next-prism/plugins/line-numbers/line-numbers.css' export default function App() { const { Code } = usePrism() @@ -799,16 +799,16 @@ import { usePrism } from 'next-prism' import 'next-prism/themes/tomorrow.css' // Import show-invisibles source -import 'next-prism/plugins/show-invisibles/show-invisibles'; +import 'next-prism/plugins/show-invisibles/show-invisibles' // Import show-invisibles.css -import 'next-prism/plugins/show-invisibles/show-invisibles.css'; +import 'next-prism/plugins/show-invisibles/show-invisibles.css' export default function App() { const { Code } = usePrism() return ( <> - + {`
{Math.random()}
`} diff --git a/package.json b/package.json index 45bf73f..29a71bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "next-prism", - "version": "0.4.0", + "version": "0.4.1", "description": "A lightweight, robust, and elegant syntax highlighting component for your next React apps.", "author": "Bunlong ", "license": "MIT",