diff --git a/.github/ISSUE_TEMPLATE/formatting.md b/.github/ISSUE_TEMPLATE/formatting.md index 5eacfff09..10854bdcd 100644 --- a/.github/ISSUE_TEMPLATE/formatting.md +++ b/.github/ISSUE_TEMPLATE/formatting.md @@ -46,4 +46,12 @@ Don't fill the form below manually! Let a program create a report for you: // code snippet ``` -**Expected behavior:** +**Expected output:** + +```jsx +// code snippet +``` + +**Why?** + + diff --git a/website/playground/markdown.js b/website/playground/markdown.js index 8cc2870cf..c4b642e26 100644 --- a/website/playground/markdown.js +++ b/website/playground/markdown.js @@ -27,7 +27,10 @@ function formatMarkdown({ ...(isIdempotent ? [] : ["", "**Second Output:**", codeBlock(output2, syntax)]), - ...(full ? ["", "**Expected behavior:**", ""] : []), + ...(full ? ["", "**Expected output:**", codeBlock("", syntax)] : []), + ...(full + ? ["", "**Why?**", "", ""] + : []), ] .filter((part) => part !== null) .join("\n");