mirror of
https://github.com/TxtDot/dalet-rs.git
synced 2024-11-05 17:33:58 +03:00
fix: heading level error message
This commit is contained in:
parent
ebc47a2c27
commit
e4eca62e38
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ pub fn tag<'tokens, 'src: 'tokens>(
|
|||
Err(_) => {
|
||||
emmiter.emit(Rich::custom(
|
||||
e.span(),
|
||||
"Heading level must be between 1 and 6",
|
||||
"Heading level can only take values from 1 to 6",
|
||||
));
|
||||
Hl::One
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue