You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, header background widths can either be in 'full' or 'block' mode. Full mode seems to add too much clutter for smaller headers, especially when a lot of them are nested (the rainbow color code is nice, but in terms of style they all have the same impact). However, it is still nice to have full mode enabled for the more major headers, to easily separate between different sections without the need of horizontal line separators.
The feature request is for a way users can customize the header background width per header types, and not have the option be applied generally to all header types.
Describe the solution you'd like
Proposed solution would be to optionally accept a table for heading.width, where users can choose what mode to use per header. If less than 6 items are given, the last item can be applied to remaining header types.
## Details
Request: #126
The `heading -> width` option is now allowed to be `block`, `width`, or
an array of these 2 values. If it is an array we index into it using a
clamp based on the heading level.
Requires a new kind of validation logic but not too bad, seems to cover
all cases. Also required moving list class to generics, which was easy.
Move all union strings to type alias annotations so exact values can be
defined once and reused as needed.
However, it is still nice to have full mode enabled for the more major headers, to easily separate between different sections without the need of horizontal line separators.
I agree. I've just switched to the following myself after trying it:
Is your feature request related to a problem? Please describe.
Currently, header background widths can either be in 'full' or 'block' mode. Full mode seems to add too much clutter for smaller headers, especially when a lot of them are nested (the rainbow color code is nice, but in terms of style they all have the same impact). However, it is still nice to have full mode enabled for the more major headers, to easily separate between different sections without the need of horizontal line separators.
The feature request is for a way users can customize the header background width per header types, and not have the option be applied generally to all header types.
Describe the solution you'd like
Proposed solution would be to optionally accept a table for
heading.width
, where users can choose what mode to use per header. If less than 6 items are given, the last item can be applied to remaining header types.Ex:
width = { "full", "full", "block", "block", "block", "block" }
equivalent to
width = { "full", "full", "block" }
This is only a suggestion , and any configuration implementation would be great as long as the requested behavior can be distinguished.
Describe alternatives you've considered
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: