Are people regularly opening Microsoft Office documents? I don’t think I’ve touched one since I was at school, which I finished in 2012.
I joined the cybersecurity club at my school and they used word or pdf for submissions. I spent a good 15 minutes trying to get code blocks and proper formating working on either but it didn’t work. I gave up and just tool a scrolling screenshot of my blog and added a link in the docx file.
(And yes, I tried pandoc. My blog uses quarto, a static site generator based on pandoc markdown, and it uses pandoc. I tried to generate word and pdf using it and they looked awful.)