Open serhez opened 1 month ago
Perhaps this feature could be more generic than just integrating with render-markdown
specifically. Maybe it is possible to detect virtual text at the beginning of lines and account for it when rendering the indent guides?
Is your feature request related to a problem? Please describe. The indent guides do not adapt to padding/margins for code blocks in markdown-related documents (e.g.,
markdown
,quarto
,rmd
, etc.), a feature provided by the pluginrender-markdown
.Describe the solution you'd like An integration with
render-markdown
to consider padding/margin when rendering indent guides.Describe alternatives you've considered Not using indent guides or not using padding/margins.
Additional context Here is an example without padding:
Here is an example with padding: