-
Notifications
You must be signed in to change notification settings - Fork 82
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
I'd love to have varying levels of min_width depending on the header level. An example config:
require('render-markdown').setup({
heading = {
enabled = true,
width = {'full', 'block', 'block'},
min_width = {-1, 60, 40},
},
})
Describe the solution you'd like
Behavior similar to heading.width, ie support both cycle and clamp behavior for the arrays.
Describe alternatives you've considered
Interpret numbers in the header.width field as min_width. An example config:
require('render-markdown').setup({
heading = {
enabled = true,
width = {'full', 60, 40},
},
})
Additional information
This plugin is awesome. I really appreciate all the work you've put into it!
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request