displaying latex maths in a readable way
Author: aris-mavCreated Sep 11, 2026Updated Sep 11, 2026
Labelsfeature-request
Programs like innomd and mdcat can convert latex math-blocks from .md files into plain ascii representations, so that they're somewhat readable in the terminal. Unfortunately, they're not as versatile/widespread as bat, and they both have some issues when the math becomes slightly complicated.
I was wondering whether a similar feature could be considered in bat.
mathlex can be used to parse the latex syntax, if you would allow adding an extra dependency.
I'd be happy to help with the implementation, if you agree on it.
Source: sharkdp/bat