diff --git a/package.json b/package.json index 78e2729..61dbfb6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wooorm/starry-night", - "version": "2.2.0", + "version": "3.0.0", "description": "Syntax highlighting, like GitHub", "license": "MIT", "keywords": [ diff --git a/readme.md b/readme.md index 824fd04..3e0a74b 100644 --- a/readme.md +++ b/readme.md @@ -146,14 +146,14 @@ npm install @wooorm/starry-night In Deno with [`esm.sh`][esmsh]: ```js -import {common, createStarryNight} from 'https://esm.sh/@wooorm/starry-night@2' +import {common, createStarryNight} from 'https://esm.sh/@wooorm/starry-night@3' ``` In browsers with [`esm.sh`][esmsh]: ```html ``` @@ -161,7 +161,7 @@ To get the CSS in browsers, do (see [CSS][] for more info): ```html - + ``` ## Use @@ -548,7 +548,7 @@ Say we have this `example.js` on our browser (no bundling needed!): import { common, createStarryNight -} from 'https://esm.sh/@wooorm/starry-night@2?bundle' +} from 'https://esm.sh/@wooorm/starry-night@3?bundle' import {toDom} from 'https://esm.sh/hast-util-to-dom@4?bundle' const starryNight = await createStarryNight(common) @@ -574,7 +574,7 @@ for (const node of nodes) {
…world!