JS would be able to achieve this, of course, but CSS is all we're allowed to inject into Joplin . I've also tested multiple variations with CSS but neither worked, unfortunately.