Skip to content

Commit ad8da2a

Browse files
committed
Fix markdown lint
1 parent 928125d commit ad8da2a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.markdownlint.jsonc

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"MD014": false,
1818
// Multiple headings with the same content. That's fine.
1919
"MD024": false,
20+
// Some headers finish with ! because it refers to a function name
21+
"MD026": false,
2022
// Allow empty line between block quotes. Used by contiguous admonition blocks.
2123
"MD028": false,
2224
// Allowed HTML inline elements.

lib/elixir/pages/references/naming-conventions.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ In other words, functions using the word "size" in its name will take the same a
129129

130130
When you see the functions `get`, `fetch`, and `fetch!` for key-value data structures, you can expect the following behaviours:
131131

132-
- `get` returns a default value (which itself defaults to `nil`) if the key is not present, or returns the requested value.
133-
- `fetch` returns `:error` if the key is not present, or returns `{:ok, value}` if it is.
134-
- `fetch!` *raises* if the key is not present, or returns the requested value.
132+
* `get` returns a default value (which itself defaults to `nil`) if the key is not present, or returns the requested value.
133+
* `fetch` returns `:error` if the key is not present, or returns `{:ok, value}` if it is.
134+
* `fetch!` *raises* if the key is not present, or returns the requested value.
135135

136136
Examples: `Map.get/2`, `Map.fetch/2`, `Map.fetch!/2`, `Keyword.get/2`, `Keyword.fetch/2`, `Keyword.fetch!/2`
137137

0 commit comments

Comments
 (0)