Skip to content

Commit dee5824

Browse files
committed
[auto] run release preconditions
1 parent 3cf09c8 commit dee5824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codemirror/Cm6_ViewPlugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function createCm6Plugin(plugin: ShikiPlugin) {
125125
if (props.has('HyperMD-codeblock-begin')) {
126126
const content = Cm6_Util.getContent(view.state, node.from, node.to);
127127

128-
lang = (/^```(\S+)/.exec(content))?.[1] ?? '';
128+
lang = /^```(\S+)/.exec(content)?.[1] ?? '';
129129
}
130130

131131
if (props.has('HyperMD-codeblock-end')) {

0 commit comments

Comments
 (0)