mirror of
https://github.com/TxtDot/dalet-rs.git
synced 2024-11-22 00:36:21 +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(_) => {
|
Err(_) => {
|
||||||
emmiter.emit(Rich::custom(
|
emmiter.emit(Rich::custom(
|
||||||
e.span(),
|
e.span(),
|
||||||
"Heading level must be between 1 and 6",
|
"Heading level can only take values from 1 to 6",
|
||||||
));
|
));
|
||||||
Hl::One
|
Hl::One
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue