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 ab70a63 commit 7bf54dcCopy full SHA for 7bf54dc
test/extract_snippets.py
@@ -12,7 +12,7 @@ def extract_tests(filepath):
12
filepath_short = os.path.basename(filepath)
13
article_name = filepath_short.split('.')[0]
14
15
- snippet_start = re.compile(r"^```cpp\s+(\S+)$")
+ snippet_start = re.compile(r"^```\{.cpp\s+file=(\S+)\}$")
16
snippet_end = re.compile(r"^```$")
17
18
with open(filepath) as f:
0 commit comments