-
-
Notifications
You must be signed in to change notification settings - Fork 4
Indent headings
zamsyt edited this page Jun 10, 2023
·
10 revisions
Indent headings (and text under them)
Indent depth can be changed with the pixel value on line 4.
The number of headings per note this handles is limited, but the limit is easily increased by modifying the $max-headings
variable in the SCSS source. I've set the default value to 10 for now. NB: Increasing the variable makes the snippet bigger.
Warning: This version is buggy. Not recommended.
This was the first implementation of the snippet (using a counter).