Skip to content

Commit 8b46c66

Browse files
authored
Merge pull request #6 from timlrx/fix/whitespace
Fix/lang
2 parents d074352 + e554cc0 commit 8b46c66

File tree

3 files changed

+17
-58
lines changed

3 files changed

+17
-58
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import { visit } from 'unist-util-visit'
88
import toString from 'hast-util-to-string'
9-
import { refractor } from 'refractor'
9+
import { refractor } from 'refractor/lib/all.js'
1010
import rangeParser from 'parse-numeric-range'
1111

1212
/**

package-lock.json

+14-55
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rehype-prism-plus",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers",
55
"source": "index.js",
66
"files": [
@@ -43,7 +43,7 @@
4343
"dependencies": {
4444
"hast-util-to-string": "^1.0.4",
4545
"parse-numeric-range": "^1.2.0",
46-
"refractor": "^4.0.0",
46+
"refractor": "^4.1.1",
4747
"unist-util-visit": "^3.1.0"
4848
},
4949
"devDependencies": {

0 commit comments

Comments
 (0)