Skip to content

Commit 3bae523

Browse files
authored
fix: convert indented params to list items and fix code block indentation
- jQuery.validator.addMethod.md: convert 2-space indented method params (value, element, params) to proper Markdown list items - validate.md: change code block indentation from 4 spaces to 2 spaces inside list items to prevent kramdown rendering with extra indentation
1 parent 6a456de commit 3bae523

2 files changed

Lines changed: 249 additions & 257 deletions

File tree

_entries/jQuery.validator.addMethod.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,9 @@ The name of the method used to identify it and referencing it; this must be a va
2525

2626
The actual method implementation, returning true if an element is valid. First argument: Current value. Second argument: Validated element. Third argument: Parameters.
2727

28-
**value** *(String)*
29-
30-
the current value of the validated element
31-
32-
**element** *(Element)*
33-
34-
the element to be validated
35-
36-
**params** *(Object)*
37-
38-
parameters specified for the method, e.g. for min: 5, the parameter is 5, for range: [1, 5] it's [1, 5]
28+
- **value** *(String)* - the current value of the validated element
29+
- **element** *(Element)* - the element to be validated
30+
- **params** *(Object)* - parameters specified for the method, e.g. for min: 5, the parameter is 5, for range: [1, 5] it's [1, 5]
3931

4032
**message** *(String)* (optional)
4133

0 commit comments

Comments
 (0)