We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 911a0fa + fcef081 commit fd4d41eCopy full SHA for fd4d41e
utils/snippetParser.js
@@ -17,7 +17,7 @@ function raise(issue, snippet = '') {
17
}
18
19
const propertyRegex = /^\s+([a-zA-Z]+):\s*(.+)/;
20
-const headerEndCodeStartRegex = /^\s+---\s+```.*\n/;
+const headerEndCodeStartRegex = /^\s*---\s*```.*\n/;
21
const codeRegex = /^(.+)```/s
22
function parseSnippet(snippetPath, text) {
23
let cursor = 0;
0 commit comments