-USE_GLOW=true
-if ! command -v glow >/dev/null 2>/dev/null; then
- printf "Glow not found, markdown rendering not available.\n"
+USE_GLOW=false
+USE_BAT=false
+if command -v glow >/dev/null 2>/dev/null; then
+ USE_GLOW=true
+elif command -v bat >/dev/null 2>/dev/null; then
+ USE_BAT=true
+else
+ printf "Glow or bat not found, markdown rendering not available.\n"