Skip to content

Commit cc35a88

Browse files
authored
Fix docs and types for ruleRepetition
Closes GH-9. Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com> Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 5fa790e commit cc35a88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Marker to use to serialize titles (`'"'` or `"'"`, default: `'"'`).
113113

114114
Marker to use for thematic breaks (`'*'`, `'-'`, or `'_'`, default: `'*'`).
115115

116-
###### `options.ruleRepeat`
116+
###### `options.ruleRepetition`
117117

118118
Number of markers to use for thematic breaks (`number`, default:
119119
`3`, min: `3`).

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ declare namespace toMarkdown {
7171
listItemIndent?: 'tab' | 'one' | 'mixed'
7272
quote?: '"' | "'"
7373
rule?: '-' | '_' | '*'
74-
ruleRepeat?: number
74+
ruleRepetition?: number
7575
ruleSpaces?: boolean
7676
setext?: boolean
7777
strong?: '_' | '*'

0 commit comments

Comments
 (0)