Closed kellyjonbrazil closed 2 years ago
Some more detail: I'm trying to keep the headings at level 3, e.g.:
### function
When I set use_fixed_header_levels
to true
the header levels go to 4 for the most part. When I set it to false
, they go down to 2.
Hey @kellyjonbrazil , thanks for reporting the issue. After taking a quick look, maybe I have messed up here a bit:
Can you try "Variable": 3
instead of "Data": 3
? And I'll look to fix this piece of code that's supposed to keep the name change backwards compatible.
Thanks for checking - that didn't seem to help. The one that is most prevalent in my docs is the Function
header. I don't think I have any Data
or Variable
headers, but I put it in my config just to make it all consistent if I do in the future.
You're right, there's actually a second issue in the same piece of code. 😢
Can you try 4.6.1 ?
Beautiful, that worked - thanks!
Environment
Describe the bug The
header_level_by_type
renderer setting doesn't seem to be taking effect anymore in v4.6.0. It was working in 4.5.0, but in 4.6.0 the heading sizes are going back to defaults even whenheader_level_by_type
is set. I also tried adding theuse_fixed_header_levels
option, but that didn't seem to help. Here is my configuration (it was working in 4.5.0 withoutuse_fixed_header_levels
):Expected behavior
The markdown heading sizes should conform to the ones specified in the configuration.