mfontanini / presenterm

A markdown terminal slideshow tool
https://mfontanini.github.io/presenterm/
BSD 2-Clause "Simplified" License
1.15k stars 26 forks source link

Dim non-highlighted code #285

Closed DrunkenToast closed 1 month ago

DrunkenToast commented 1 month ago

In code-blocks you can mark the lines that should get highlighted, however it looks somewhat off. It looks as if the highlighting is simply broken on the non-highlighted portions, they still have a lot of contrast.

Is it possible to theme it so that the non-highlighted portions of the code-block are dimmer/gray instead? This will lead to better focus on the highlighted portions I believe.

mfontanini commented 1 month ago

Yeah you're right, the non highlighted lines still stand out too much. I'll have a look soon. Thanks for the report!

mfontanini commented 1 month ago

This is fixed in #287. Thanks for the suggestion, this looks so much better now :pray:

DrunkenToast commented 1 month ago

Looks amazing! Thanks for the quick implementation! 🚀