Skip to content

Commit 9654b2c

Browse files
CopilotBillWagner
andcommitted
Fix markdown linting issues - add blank lines around lists
Co-authored-by: BillWagner <[email protected]>
1 parent 7dfac6b commit 9654b2c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/fsharp/language-reference/nameof.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ handleEvent "OrderCreated" "Order #123" // matches first case
9898
```
9999

100100
Using `nameof` instead of string literals like `"OrderCreated"` provides several benefits:
101+
101102
- If you rename a discriminated union case, the pattern automatically updates.
102103
- The compiler prevents typos by ensuring the symbol exists.
103104
- Your code remains consistent during refactoring.

docs/fsharp/language-reference/pattern-matching.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ handleEvent "OrderShipped" "Order #123" // matches second case
260260
```
261261

262262
This approach is better than using string literals (like `"OrderCreated"`) because:
263+
263264
- If you rename `OrderCreated` to `OrderPlaced`, the pattern automatically updates.
264265
- The compiler ensures that the symbol exists, preventing typos.
265266
- Your code remains consistent when refactoring.

0 commit comments

Comments
 (0)