core: fix buildContent(type=markdown)

This commit is contained in:
undefined committed 2022-08-17 00:32:03 +08:00
1 parent d401b7c920
commit 52a0666b31
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ export function buildContent(source: ProblemSource | ContentNode[], type: 'markd
: [
...source.description ? [`## ${_('Description')}`, source.description] : [],
...source.input ? [`## ${_('Input Format')}`, source.input] : [],
...source.output ? [`## '${_('Output Format')}`, source.output] : [],
...source.output ? [`## ${_('Output Format')}`, source.output] : [],
...(source.samples).map((sample, i) => [
`\`\`\`input${i + 1}`,
sample[0],