-
Notifications
You must be signed in to change notification settings - Fork 86
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
FR: Add horizontal line after heading (H2) #1211
Comments
Hey @Bad3r . Thanks for the request. Is there a reason you are not trying to solve this via a custom replacement (i.e. regex)? |
While it's possible to solve by regex I feel like it's a common use case. For example, GitHub automatically does that for markdown files. It would be a great & “simple” feature to add. |
I am having an issue with regex sloution.. I am using the following:
even though the find regex should exclude H2 headers that are already followed by a horizontal line ( When I text it in regex 101 (https://regex101.com/) the issue is not reproducible link to test: https://regex101.com/r/npn3HT/1 test case:
|
I will have to take a look at this when I get a chance. It could be that the regex is getting escaped improperly which could cause the issue. |
Fixed it by using the regex I still think this should be a builtin feature. Feel free to close if you disagree. |
Is Your Feature Request Related to a Problem? Please Describe.
Automatically add a horizontal line or horizontal rule after type 2 headings or 1
Describe the Solution You'd Like
A toggle option to enable automatically adding a horizontal line after H2 heading
Please include an example where applicable:
## Title content
Describe Alternatives You've Considered
A clear and concise description of any alternative solutions or features you've considered.
Additional Context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: