-
Notifications
You must be signed in to change notification settings - Fork 49
feature: Heading styling enhancement #121
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
Comments
# Details Request: #121 This adds 3 additional heading parameters, left_pad, right_pad, and min_width. This works in an identical way to the same parameters in code blocks. left_pad can be used with any width attribute, whereas right_pad and min_width are only used for 'block' width. We do need to take additional care of various concealing behaviors which adds a bit of complexity. left_pad: moves the heading line to the left right_pad: adds a margin of background to the end of block width headings min_width: ensures that the same padding extends at least to the specified value making a uniform look easier
Feature added here: 6392a5d Works in the same way as code blocks, give it a shot! |
Amazing, works as a charm! Thank you very much for quick response and implementation. I cannot say enough how thankful I am to you for this plugin! I have tried some few other options before but this is the only one that gives me almost limitless level of customization and enables me to have my notes look as close as possible (being in a Terminal) to how I configured and display them in Obsidian. Thank You. |
Thank you for the kind words. Am glad you're enjoying the plugin :) |
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
It would be amazing to have the same stylings for headings as for a code block. The ones missing are:
That would give ultimate flexibility how to style our headings, making it possible to line them up with code blocks and dash lines for visual consistency. I believe that it would even enable us to centred the heading as well.
Describe alternatives you've considered
Just having min_width would go a long way. As an alternative I am using a blank character (Braille Pattern Blank: U+2800) to exdend the heading.ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ
Additional information
No response
The text was updated successfully, but these errors were encountered: