-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
org-tree-slide-content-margin-top is ignored when org-tree-slide-header is nil #51
Comments
A workaround only for this case, please copy paste this code to your init.el.
If this could work in your side, then I'll think to integrate this feature in the next update. |
Thank you very much for your quick reply. (with-eval-after-load "org-tree-slide"
(defun org-tree-slide--slide-in (blank-lines)
"Position the slide will be moved from BLANK-LINES below to top."
(org-tree-slide--set-slide-header org-tree-slide-content-margin-top))) Do you have a tip on improving this, since it is kind of an ugly hack? Furthermore, I wonder, how I could preserve the asterisks of the org-heading? (Those disappear, when using this approach) Thanks again! |
I think your proposed approach is nice because I did similar way in Regarding the issue on showing asterisks, could you kindly provide a screenshot in this thread? |
Honestly speaking, it is really hard to show the asterisk in a sliding header because it is the key element to introduce the sliding effect. At this moment, unfortunately I cannot come up with a good idea to show the asterisk with sliding in effect. I'll think the way to achieve it somehow. |
Thanks for your reply. Anyways, thanks for thinking about it. I think it would be a good addition! |
Dear Takaaki,
the variable
org-tree-slide-content-margin-top
is ignored, when the is not shown by settingorg-tree-slide-header
tonil
.I would like, that blank lines are introduced even, when the header is hidden, so that the slide content is a bit more centered.
Do you have an idea, how to fix this?
Thank you for provideing
org-tree-slide
btw, it's a great package.Best regards
jgru
The text was updated successfully, but these errors were encountered: