You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-10-09 10:55:26 +02:00
docs(gemini): Add kbd tag formatting rule (#2925)
Adds a specific style convention to GEMINI.md for formatting keyboard key combinations using the `<kbd>` tag. The required format is `<kbd>Ctrl + S</kbd>`, which is consistent with existing usage in the course. This rule will be enforced by the AI assistant to ensure uniformity.
This commit is contained in:
@@ -141,7 +141,9 @@ list of options.
|
||||
|
||||
- **HTML Tags:**
|
||||
- **`<details>`:** Used for collapsible "speaker notes".
|
||||
- **`<kbd>`:** Used to denote keyboard keys.
|
||||
- **`<kbd>`:** Used to denote keyboard keys. Key combinations must be
|
||||
formatted as `<kbd>Ctrl + S</kbd>`, wrapping the entire combination in one
|
||||
tag.
|
||||
- **`<style>`:** Used rarely for targeted custom CSS.
|
||||
- **`<img>`:** Used to embed images.
|
||||
|
||||
|
Reference in New Issue
Block a user