This workflow should work with @innocuo 's suggestion, but instead of implementing it in userstyle.css you can simply use a
<style> tag in your grocery list note. And you can make it easy to toggle by wrapping it in an html comment. You can a screenshot of this below:
I tested this on desktop and mobile and it works very well! It’s a nice idea for a workflow I might use it myself.