News for hackers. Stuff that matters.
Re:MDN converted to Markdown by Lvl999Noob on Saturday November 05, 2022 @06:07AM (#33479867)
One example was given in the article itself. Raw HTML requires escaping html tags. This leads to completely inlegible code that would be impossible for someone to review without rendering the page and checking the output.
Re:MDN converted to Markdown by enriquto on Saturday November 05, 2022 @06:18AM (#33479946)
The xmp tag would be the natural answer to this problem. It still works in browsers, but unfortunately it became deprecated on the html5 standard. A hackish (thus beautiful!) answer is to use textarea tags, suitably styled.