Kungsgeten / org-brain

Org-mode wiki + concept-mapping
MIT License
1.72k stars 102 forks source link

Support for valign #351

Open fosskers opened 3 years ago

fosskers commented 3 years ago

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 commented 3 years ago

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

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