Skip to content

Commit 63c56e1

Browse files
authored
Update copilot-instructions.md
1 parent 5c3313e commit 63c56e1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/copilot-instructions.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,20 @@ Examples:
5858
* ❌ Incorrect: `For more information, see [Using GitHub Copilot](/copilot/using-github-copilot).`
5959
* ❌ Incorrect: `For more information, see {% link /copilot/using-github-copilot %}.`
6060

61-
### Creating a pull request
61+
### Parenthetical dashes
62+
63+
Where a sentence of normal body text contains a parenthetical dash, the dash should always be an em dash without spaces at either side. This rule does not apply to text within code blocks.
64+
65+
Examples:
66+
67+
* ✅ Correct: "The cat—which sat on a branch—smiled with a broad grin." (em dash without spaces)
68+
* ❌ Incorrect: "The cat — which sat on a branch — smiled with a broad grin." (em dash with spaces)
69+
* ❌ Incorrect: "The cat–which sat on a branch–smiled with a broad grin." (en dash without spaces)
70+
* ❌ Incorrect: "The cat – which sat on a branch – smiled with a broad grin." (en dash with spaces)
71+
* ❌ Incorrect: "The cat-which sat on a branch-smiled with a broad grin." (hyphen without spaces)
72+
* ❌ Incorrect: "The cat - which sat on a branch - smiled with a broad grin." (hyphen with spaces)
73+
74+
## Creating a pull request
6275

6376
When creating a pull request as a result of a request to do so in Copilot Chat, the first line of the PR description should **always** be the following (in italics):
6477

0 commit comments

Comments
 (0)