Skip to content

Commit a897b2a

Browse files
committed
remove line-highlight pattern replacement
1 parent 86958ae commit a897b2a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/mdx/src/plugins/rehype/rehypeSyntaxHighlighting.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,6 @@ const traverseNode = (
166166
const numberOfLines = lineNumber;
167167

168168
node.data = node.data ?? {};
169-
if (node.data.meta) {
170-
node.data.meta = node.data.meta.replace(lineHighlightPattern, '').trim();
171-
}
172169
codeElement.data = node.data;
173170
codeElement.properties.numberOfLines = numberOfLines;
174171
if (preChild) {

0 commit comments

Comments
 (0)