Skip to content

Commit c9fc23e

Browse files
Update issue template (#15886)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
1 parent 45ad466 commit c9fc23e

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/ISSUE_TEMPLATE/formatting.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,12 @@ Don't fill the form below manually! Let a program create a report for you:
4646
// code snippet
4747
```
4848

49-
**Expected behavior:**
49+
**Expected output:**
50+
51+
```jsx
52+
// code snippet
53+
```
54+
55+
**Why?**
56+
57+
<!-- short explanation of expected output -->

website/playground/markdown.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ function formatMarkdown({
2727
...(isIdempotent
2828
? []
2929
: ["", "**Second Output:**", codeBlock(output2, syntax)]),
30-
...(full ? ["", "**Expected behavior:**", ""] : []),
30+
...(full ? ["", "**Expected output:**", codeBlock("", syntax)] : []),
31+
...(full
32+
? ["", "**Why?**", "", "<!-- short explanation of expected output -->"]
33+
: []),
3134
]
3235
.filter((part) => part !== null)
3336
.join("\n");

0 commit comments

Comments
 (0)