Skip to content

Commit

Permalink
Update description.md
Browse files Browse the repository at this point in the history
  • Loading branch information
iHiD authored Dec 3, 2024
1 parent 44cea9b commit d9173b8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions exercises/diamond/description.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Description

Your objective is to draw out a diamond using letters and spaces.
Your goal is to create a diamond shape using letters and spaces.

You're given a letter, which represents the widest point of the diamond.

You're given a letter which signifies the widest point of the diamond.
Let's look at some examples.

Diamond for letter 'A':
Expand Down Expand Up @@ -39,15 +40,14 @@ E E
## Requirements

These are the full requirements:

- The first row contains one 'A'.
- The last row contains one 'A'.
- All rows, except the first and last, have exactly two identical letters.
- All rows have as many trailing spaces as leading spaces (this might be 0).
- The diamond is horizontally symmetric.
- The diamond is vertically symmetric.
- The diamond has a square shape (width equals height).

Check failure on line 43 in exercises/diamond/description.md

View workflow job for this annotation

GitHub Actions / Lint markdown files

Lists should be surrounded by blank lines

exercises/diamond/description.md:43 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "- The diamond has a square sha..."] https://github.com/DavidAnson/markdownlint/blob/v0.34.0/doc/md032.md
- The letters form a diamond shape.
- The top half has the letters in ascending order.
- The bottom half has the letters in descending order.
- All rows, except the first and last, have exactly two identical letters.
- The first row contains one 'A'.
- The last row contains one 'A'.
- All rows have as many trailing spaces as leading spaces (this might be 0 spaces).
- The diamond is horizontally symmetric.
- The diamond is vertically symmetric.
- The four corners (containing the spaces) are triangles.

0 comments on commit d9173b8

Please sign in to comment.