Skip to content

More distinguishable org-block #138

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

Open
laooree opened this issue Mar 18, 2025 · 0 comments
Open

More distinguishable org-block #138

laooree opened this issue Mar 18, 2025 · 0 comments

Comments

@laooree
Copy link

laooree commented Mar 18, 2025

Hello everyone!

I use quite a lot org-mode for literate programming, and I think it would be useful to better highlight org-block with respect to literate text.

Ideally, a darker background for org-block would be the best, but the darkest color is already used as normal background. Thus, I thought about setting a lighter the background for the faces org-block-begin-line and org-block-end-line, using a color such as nord1.

The following picture shows what I mean:
Image

What is in picture is achieved with the following face settings in the theme code:

`(org-block-begin-line ((,class (:foreground ,nord7 :background ,nord1 :extend t))))
`(org-block-end-line ((,class (:foreground ,nord7 :background ,nord1 :extend t))))

What do you think about it? Are there other enhancements possible to achieve the aforementioned goal?

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

No branches or pull requests

1 participant