Update issue template (#15886)
Co-authored-by: Alexander Kachkaev <alexander@kachkaev.ru>
This commit is contained in:
1 parent
45ad4668eb
commit
c9fc23e0e7
2 files changed
+13
-2
No files matched your search
@@ -46,4 +46,12 @@ Don't fill the form below manually! Let a program create a report for you:
|
|||||||
// code snippet
|
// code snippet
|
||||||
```
|
```
|
||||||
|
|
||||||
**Expected behavior:**
|
**Expected output:**
|
||||||
|
|
||||||
|
```jsx
|
||||||
|
// code snippet
|
||||||
|
```
|
||||||
|
|
||||||
|
**Why?**
|
||||||
|
|
||||||
|
<!-- short explanation of expected output -->
|
||||||
@@ -27,7 +27,10 @@ function formatMarkdown({
|
|||||||
...(isIdempotent
|
...(isIdempotent
|
||||||
? []
|
? []
|
||||||
: ["", "**Second Output:**", codeBlock(output2, syntax)]),
|
: ["", "**Second Output:**", codeBlock(output2, syntax)]),
|
||||||
...(full ? ["", "**Expected behavior:**", ""] : []),
|
...(full ? ["", "**Expected output:**", codeBlock("", syntax)] : []),
|
||||||
|
...(full
|
||||||
|
? ["", "**Why?**", "", "<!-- short explanation of expected output -->"]
|
||||||
|
: []),
|
||||||
]
|
]
|
||||||
.filter((part) => part !== null)
|
.filter((part) => part !== null)
|
||||||
.join("\n");
|
.join("\n");
|
||||||
|
|||||||
Reference in new issue
Block a user