MeanderingProgrammer / render-markdown.nvim

Plugin to improve viewing Markdown files in Neovim
MIT License
1.73k stars 38 forks source link

feature: option to not have heading indent #107

Closed chrisgrieser closed 3 months ago

chrisgrieser commented 3 months ago

Is your feature request related to a problem? Please describe.

It's mostly an aesthetic preference – I prefer headings to not have any indentation. The different colors and the numbering are already sufficiently distinguishable for me.

Describe the solution you'd like

an option to disable heading indent

Describe alternatives you've considered

I thnk there are none?

Additional information

No response

MeanderingProgrammer commented 3 months ago

Makes sense, added the feature here: https://github.com/MeanderingProgrammer/markdown.nvim/commit/345596bb6ef2b0c0a145c59906c2e84dbddfbbd4

Please update and add the following to your config:

opts = {
    heading = { position = 'inline' },
}
chrisgrieser commented 3 months ago

Thank you for the quick implementation! Works as expected.