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.
1 parent 5869b5d commit 5934f63Copy full SHA for 5934f63
support/src/documentationHelpers/generateLearningGoals.ts
@@ -24,7 +24,8 @@ function extractLearningGoals(content: string): {
24
readonly found: boolean;
25
readonly goals: readonly string[];
26
} {
27
- const sectionRegex = /#+\s*(?:Module\s+)?Learning goals\s*\n([\s\S]*?)(?=\n#+\s|$)/i;
+ const sectionRegex =
28
+ /#+\s*(?:Module\s+)?Learning goals\s*\n([\s\S]*?)(?=\n#+\s|$)/i;
29
const match = content.match(sectionRegex);
30
31
if (!match) return { found: false, goals: [] };
0 commit comments