Skip to content

Commit 3254dc4

Browse files
committed
Add clarification on pseudo-element naming conventions in style guide
1 parent b8ec2e7 commit 3254dc4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/skills/proofread-text/style-basics.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Use this guide when proofreading or drafting pages in `src/content/docs/basics`.
2626
- Keep API, CSS, and pseudo-element identifiers exact and unchanged.
2727
- Use consistent terms such as `view-transition-name`, `view-transition-class`, and `startViewTransition()`.
2828
- Inline code is used heavily for CSS properties, selectors, and API members.
29+
- Pseudo-element names (e.g. `::before`, `::after`, `::view-transition-old`) must be in backticks everywhere, including inside Markdown table cells.
2930

3031
## Sentence and Punctuation Patterns
3132
- Mix short directive sentences with longer explanatory ones.

0 commit comments

Comments
 (0)