You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
style(docs): unify quote style in GFM instructions
Use single quotes in frontmatter and asterisks for emphasis
markers for consistency.
Signed-off-by: umatare5 <umatare5@gmail.com>
AI-assisted-by: GitHub Copilot Coding Agent
Copy file name to clipboardExpand all lines: .github/instructions/markdown-gfm.instructions.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
description: "Markdown formatting for GitHub-flavored markdown (GFM) files"
3
-
applyTo: "**/*.md"
2
+
description: 'Markdown formatting for GitHub-flavored markdown (GFM) files'
3
+
applyTo: '**/*.md'
4
4
---
5
5
6
6
# GitHub Flavored Markdown (GFM)
@@ -31,13 +31,13 @@ Apply these rules per the [GFM spec](https://github.github.com/gfm/) when writin
31
31
-**Link reference definitions**: `[label]: destination "title"`. Case-insensitive label matching. First definition wins for duplicate labels. Cannot interrupt a paragraph.
32
32
-**Paragraphs**: Consecutive non-blank lines not interpretable as other block constructs. Leading spaces up to 3 are stripped.
33
33
-**Blank lines**: Ignored between blocks; determine whether a list is tight or loose.
34
-
-**Tables**_(extension)_: Header row, delimiter row (`---`, `:---:`, `---:`), zero or more data rows. Delimit cells with `|`. Escape literal pipe as `\|`. Header and delimiter must have matching column count. Broken at first blank line or other block-level structure.
34
+
-**Tables***(extension)*: Header row, delimiter row (`---`, `:---:`, `---:`), zero or more data rows. Delimit cells with `|`. Escape literal pipe as `\|`. Header and delimiter must have matching column count. Broken at first blank line or other block-level structure.
35
35
36
36
## Container Blocks
37
37
38
38
-**Block quotes**: Lines prefixed with `>` (optionally followed by a space). Lazy continuation allowed for paragraph text only. A blank line separates consecutive block quotes.
39
39
-**List items**: Bullet markers (`-`, `+`, `*`) or ordered markers (1–9 digits + `.` or `)`). Content column determined by marker width + spaces to first non-whitespace. Sublists must be indented to the content column. An ordered list interrupting a paragraph must start with `1`.
40
-
-**Task list items**_(extension)_: `- [ ]` (unchecked) or `- [x]` (checked) at the start of a list item paragraph. Space between `-` and `[` is required. May be nested.
40
+
-**Task list items***(extension)*: `- [ ]` (unchecked) or `- [x]` (checked) at the start of a list item paragraph. Space between `-` and `[` is required. May be nested.
41
41
-**Lists**: Sequence of same-type list items. Changing bullet character or ordered delimiter starts a new list. A list is loose if any item is separated by a blank line.
42
42
43
43
## Inlines
@@ -46,13 +46,13 @@ Apply these rules per the [GFM spec](https://github.github.com/gfm/) when writin
46
46
-**Entity and numeric character references**: `&`, `{`, `{` — valid HTML5 entities. Not recognized in code spans or code blocks. Cannot replace structural characters.
47
47
-**Code spans**: Backtick-delimited inline code. Line endings convert to spaces. Leading and trailing space stripped when both present. Backslash escapes are literal inside code spans.
48
48
-**Emphasis and strong emphasis**: `*`/`_` for `<em>`, `**`/`__` for `<strong>`. `_` is not allowed for intraword emphasis. Left-flanking / right-flanking delimiter run rules apply. Delimiter run length sum must not be a multiple of 3 when one delimiter can both open and close (unless both lengths are multiples of 3).
49
-
-**Strikethrough**_(extension)_: `~~text~~` — one or two tildes. Does not span across paragraphs. Three or more tildes do not create strikethrough.
49
+
-**Strikethrough***(extension)*: `~~text~~` — one or two tildes. Does not span across paragraphs. Three or more tildes do not create strikethrough.
50
50
-**Links**: Inline `[text](url "title")` or reference `[text][label]` / `[text][]` / `[text]`. Link text may contain inlines but not other links. Destination in `<…>` allows spaces. No whitespace between link text and `(` or `[`.
51
51
-**Images**: `` — same syntax as links prefixed with `!`. Alt text is the plain-string content of the description.
52
52
-**Autolinks**: `<URI>` or `<email>` in angle brackets. Scheme must be 2–32 characters starting with an ASCII letter.
53
-
-**Autolinks**_(extension)_: Bare `http://`, `https://`, `www.` URLs and bare email addresses auto-link without angle brackets. Trailing punctuation excluded; parentheses balanced.
53
+
-**Autolinks***(extension)*: Bare `http://`, `https://`, `www.` URLs and bare email addresses auto-link without angle brackets. Trailing punctuation excluded; parentheses balanced.
-**Disallowed raw HTML**_(extension)_: `<title>`, `<textarea>`, `<style>`, `<xmp>`, `<iframe>`, `<noembed>`, `<noframes>`, `<script>`, `<plaintext>` have their leading `<` replaced with `<`.
55
+
-**Disallowed raw HTML***(extension)*: `<title>`, `<textarea>`, `<style>`, `<xmp>`, `<iframe>`, `<noembed>`, `<noframes>`, `<script>`, `<plaintext>` have their leading `<` replaced with `<`.
56
56
-**Hard line breaks**: Two+ trailing spaces or `\` before a line ending. Not recognized in code spans or HTML tags.
57
57
-**Soft line breaks**: A line ending not preceded by two+ spaces or `\`. Rendered as a space in browsers.
58
58
@@ -65,4 +65,4 @@ Apply these rules per the [GFM spec](https://github.github.com/gfm/) when writin
65
65
-[ ] Emphasis uses `*` for intraword; `_` only at word boundaries.
0 commit comments