Re:Next Gen Static Blogging
by chrismorgan on Saturday January 09, 2021 @02:37PM
(#25703815)
The outer <code> here is simply a very poor choice due to what I can only imagine is ignorance. It would be better removed, and the `code` rule in the stylesheet changed to `body` and `font-family: monospace` added. (And `code code` would need to be changed to `code`.)
You could use <article /> instead (which I probably would). Jest tested it using dev tools, seems to work.
I personally wouldn't make that compromise, why is pre-processing not simple enough?