Skip to content
This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Commit 6ed66dc

Browse files
committed
fix: correct hlpath for custom highlighter themes
1 parent 8e52f5d commit 6ed66dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const maybe = require('call-me-maybe');
88

99
// @ts-ignore
1010
var hljs = require('highlight.js');
11-
var hlpath = require.resolve('highlight.js');
11+
var hlpath = path.resolve(require.resolve('highlight.js'),'..','..');
1212

1313
const emoji = require('markdown-it-emoji');
1414
const attrs = require('markdown-it-attrs');

0 commit comments

Comments
 (0)