fix: heading level error message

This commit is contained in:
Artemy Egorov 2024-08-12 17:58:25 +03:00
parent ebc47a2c27
commit e4eca62e38

View file

@ -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
}