Skip to content

Commit 33e440f

Browse files
committed
fix: allow extended chars in automd comment
1 parent e950a09 commit 33e440f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/automd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import generators from "./generators";
77
import { GenerateContext, GenerateResult } from "./generator";
88

99
const AUTOMD_RE =
10-
/^(?<open><!--\s*AUTOMD_START\s*(?<args>[^>]*)\s*-->)(?<contents>.+?)(?<close><!--\s*AUTOMD_END\s*-->)/gms;
10+
/^(?<open><!--\s*AUTOMD_START\s*(?<args>.*?)\s*-->)(?<contents>.+?)(?<close><!--\s*AUTOMD_END\s*-->)/gms;
1111

1212
export interface AutoMDOptions {
1313
/**

0 commit comments

Comments
 (0)