Skip to content

feature: option to not have heading indent #107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chrisgrieser opened this issue Jul 30, 2024 · 2 comments
Closed

feature: option to not have heading indent #107

chrisgrieser opened this issue Jul 30, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@chrisgrieser
Copy link
Contributor

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

@chrisgrieser chrisgrieser added the enhancement New feature or request label Jul 30, 2024
MeanderingProgrammer added a commit that referenced this issue Jul 30, 2024
## Details

Request: #107

Currently heading icons are left padded with spaces to overlay the '#'s.
Keep this as the default behavior and add an 'inline' position option.
This results in the icons being aligned regardless of the heading level.
@MeanderingProgrammer
Copy link
Owner

Makes sense, added the feature here: 345596b

Please update and add the following to your config:

opts = {
    heading = { position = 'inline' },
}

@chrisgrieser
Copy link
Contributor Author

Thank you for the quick implementation!
Works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants