This is less of asking for code solution, but more of requesting an explanation of the unexpected code behavior. When I use kable_styling on console, the table
kable_styling