Skip to content
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

Support for valign #351

Open
fosskers opened this issue Feb 22, 2021 · 1 comment
Open

Support for valign #351

fosskers opened this issue Feb 22, 2021 · 1 comment

Comments

@fosskers
Copy link

fosskers commented Feb 22, 2021

There is a wonderful org-mode library called valign. It makes charts look like this:

2021-02-21-170006_354x286_scrot

Unfortunately org-brain doesn't account for it, and so charts with non-fixed-width characters make charts misalign:

2021-02-21-170102_387x321_scrot

The misalignment is an org issue, not brain, but it would be nice if brain could detect the presence of valign and use it in the Visualize buffer.

Thoughts?

@Kungsgeten
Copy link
Owner

Not sure if it works but you could try adding this to your config:

(add-hook 'org-brain-visualize-text-hook #'valign-mode)

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

No branches or pull requests

2 participants